public class TagStack extends Object
Modifier and Type | Field and Description |
---|---|
static IgnoreElementRule |
IGNORE_ALL
Represents a default
IgnoreElementRule that ignore all elements and cannot be switched off. |
Constructor and Description |
---|
TagStack(WikiScannerContext context,
Map<String,TagHandler> handlers) |
TagStack(WikiScannerContext context,
Map<String,TagHandler> handlers,
CommentHandler commentHandler) |
public static final IgnoreElementRule IGNORE_ALL
IgnoreElementRule
that ignore all elements and cannot be switched off.public TagStack(WikiScannerContext context, Map<String,TagHandler> handlers)
public TagStack(WikiScannerContext context, Map<String,TagHandler> handlers, CommentHandler commentHandler)
public void beginElement(String name, WikiParameters params)
public void endElement()
public WikiScannerContext getScannerContext()
public void setScannerContext(WikiScannerContext context)
public void pushScannerContext(WikiScannerContext context)
public WikiScannerContext popScannerContext()
public void onCharacters(String content)
public void onComment(char[] array, int start, int length)
public void pushStackParameters()
public void popStackParameters()
@Deprecated public Object getStackParameter(String name, int index)
public void setQuoteDepth(int depth)
public int getQuoteDepth()
public boolean isInsideBlockElement()
public void setInsideBlockElement()
public void unsetInsideBlockElement()
public void setDocumentParent()
public TagContext getDocumentParent()
public String pushListStyle(char style)
public void popListStyle()
public boolean isEndOfList()
public void resetEmptyLinesCount()
public void incrementEmptyLinesCount()
public int getEmptyLinesCount()
public boolean shouldIgnoreElements()
public void setIgnoreElements()
public void unsetIgnoreElements()
public void pushIgnoreElementRule(IgnoreElementRule ignoreElementRule)
ignoreElementRule
- the rule to be used now.public IgnoreElementRule popIgnoreElementRule()
Copyright © 2004–2021 XWiki. All rights reserved.