public class UniqueRule extends BaseRule
UniqueToken
from an <unique> element, which contains full content.| Constructor and Description |
|---|
UniqueRule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTextTokens(IScriptToken token,
java.lang.String text,
org.apache.hivemind.Location location)
Parses the provided text and converts it into a series of
|
protected void |
addToParent(RuleDirectedParser parser,
IScriptToken token)
Adds a token to its parent, the top object on the stack.
|
void |
content(RuleDirectedParser parser,
java.lang.String content)
Peeks at the top object on the stack (which must be a
IScriptToken),
and converts the text into a series of StaticToken and
InsertTokens. |
void |
endElement(RuleDirectedParser parser)
Invoked just after the rule is popped off the rule stack.
|
void |
startElement(RuleDirectedParser parser,
org.xml.sax.Attributes attributes)
Invoked just after the rule is pushed onto the rule stack.
|
getAttributepublic UniqueRule()
public void endElement(RuleDirectedParser parser)
IRuleendElement in interface IRuleendElement in class BaseRulepublic void startElement(RuleDirectedParser parser, org.xml.sax.Attributes attributes)
IRulestartElement in interface IRulestartElement in class BaseRuleprotected void addToParent(RuleDirectedParser parser, IScriptToken token)
public void content(RuleDirectedParser parser, java.lang.String content)
IScriptToken),
and converts the text into a series of StaticToken and
InsertTokens.protected void addTextTokens(IScriptToken token, java.lang.String text, org.apache.hivemind.Location location)