org.apache.tapestry.script
Class ScriptRule
java.lang.Object
org.apache.tapestry.util.xml.BaseRule
org.apache.tapestry.script.ScriptRule
- All Implemented Interfaces:
- IRule
public class ScriptRule
- extends BaseRule
Rule for <script> element. Creates a ParsedScript
.
- Since:
- 3.0
- Version:
- $Id: ScriptRule.java 243791 2004-02-19 17:38:13Z hlship $
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptRule
public ScriptRule()
endElement
public void endElement(RuleDirectedParser parser)
- Description copied from interface:
IRule
- Invoked just after the rule is popped off the rule stack.
- Specified by:
endElement
in interface IRule
- Overrides:
endElement
in class BaseRule
startElement
public void startElement(RuleDirectedParser parser,
org.xml.sax.Attributes attributes)
- Description copied from interface:
IRule
- Invoked just after the rule is pushed onto the rule stack. Typically, a Rule will
use the information to create a new object and push it onto the object stack.
If the rule needs to know about the element (rather than the attributes), it
may obtain the URI, localName and qName from the parser.
- Specified by:
startElement
in interface IRule
- Overrides:
startElement
in class BaseRule