|
|||||||||
| 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,
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
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. |
| 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 IRuleendElement in class BaseRule
public void startElement(RuleDirectedParser parser,
org.xml.sax.Attributes attributes)
IRule
startElement in interface IRulestartElement 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
InsertTokens.
content in interface IRulecontent 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 | ||||||||