|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry.util.xml.BaseRule org.apache.tapestry.script.UniqueRule
public class UniqueRule
Constructs a UniqueToken
from an <unique> element, which contains full content.
Constructor Summary | |
---|---|
UniqueRule()
|
Method Summary | |
---|---|
protected void |
addTextTokens(IScriptToken token,
String text,
ILocation 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,
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
InsertToken s. |
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. |
Methods inherited from class org.apache.tapestry.util.xml.BaseRule |
---|
getAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UniqueRule()
Method Detail |
---|
public void endElement(RuleDirectedParser parser)
IRule
endElement
in interface IRule
endElement
in class BaseRule
public void startElement(RuleDirectedParser parser, org.xml.sax.Attributes attributes)
IRule
startElement
in interface IRule
startElement
in class BaseRule
protected void addToParent(RuleDirectedParser parser, IScriptToken token)
public void content(RuleDirectedParser parser, String content)
IScriptToken
),
and converts the text into a series of StaticToken
and
InsertToken
s.
content
in interface IRule
content
in class BaseRule
protected void addTextTokens(IScriptToken token, String text, ILocation location)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |