|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.util.xml.BaseRule
org.apache.tapestry.script.InitRule
public class InitRule
Constructs an InitToken
from an
<initialization> element, which contains full content.
Constructor Summary | |
---|---|
InitRule()
|
Method Summary | |
---|---|
protected void |
addTextTokens(IScriptToken token,
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,
String content)
Invoked when real content is found. |
void |
endElement(RuleDirectedParser parser)
Invoked just after the rule is popped off the rule stack. |
void |
startElement(RuleDirectedParser parser,
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 InitRule()
Method Detail |
---|
public void endElement(RuleDirectedParser parser)
IRule
endElement
in interface IRule
endElement
in class BaseRule
public void startElement(RuleDirectedParser parser, 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)
content
in interface IRule
content
in class BaseRule
protected void addTextTokens(IScriptToken token, String text, org.apache.hivemind.Location location)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |