| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private boolean | |
| private QName | |
| private QName | |
| private List | |
| private Pattern | |
| private int | |
| private double | |
| private boolean | |
| private Stylesheet |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public int | |
| public void | |
| public boolean | |
| public void | display(int indent)
Overrides com. Displays the contents of this syntax tree node (to stdout). |
| public QName | |
| public QName | |
| public List | |
| public Pattern | |
| public int | |
| public double | |
| public Stylesheet | getStylesheet()
Overrides com. Get the Stylesheet node that represents the <xsl:stylesheet/> element that this node occured under. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | parseContents(Parser parser)
Overrides com. Parse the contents of this syntax tree nodes (child nodes, XPath expressions, patterns and functions). |
| public void | parseSimplified(Stylesheet stylesheet, Parser parser)
When the parser realises that it is dealign with a simplified stylesheet it will create an empty Stylesheet object with the root element of the stylesheet (a LiteralElement object) as its only child. |
| private boolean | |
| public void | |
| public void | |
| public void | translate(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. Translate this node into JVM bytecodes. |
| public Type | typeCheck(SymbolTable stable)
Overrides com. Type check all the children of this node. |
| _compiled | back to summary |
|---|---|
| private boolean _compiled | |
| _disabled | back to summary |
|---|---|
| private boolean _disabled | |
| _isSimpleNamedTemplate | back to summary |
|---|---|
| private boolean _isSimpleNamedTemplate | |
| _mode | back to summary |
|---|---|
| private QName _mode | |
| _name | back to summary |
|---|---|
| private QName _name | |
| _parameters | back to summary |
|---|---|
| private List<Param> _parameters | |
| _pattern | back to summary |
|---|---|
| private Pattern _pattern | |
| _position | back to summary |
|---|---|
| private int _position | |
| _priority | back to summary |
|---|---|
| private double _priority | |
| _simplified | back to summary |
|---|---|
| private boolean _simplified | |
| _stylesheet | back to summary |
|---|---|
| private Stylesheet _stylesheet Hides com. | |
| Template | back to summary |
|---|---|
| public Template() | |
| addParameter | back to summary |
|---|---|
| public void addParameter(Param param) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(Object template) Compare this template to another. First checks priority, then position. | |
| disable | back to summary |
|---|---|
| public void disable() | |
| disabled | back to summary |
|---|---|
| public boolean disabled() | |
| display | back to summary |
|---|---|
| public void display(int indent) Overrides com. Doc from com. Displays the contents of this syntax tree node (to stdout). This method is intended for debugging _only_, and should be overridden by all syntax tree node implementations. | |
| getModeName | back to summary |
|---|---|
| public QName getModeName() | |
| getName | back to summary |
|---|---|
| public QName getName() | |
| getParameters | back to summary |
|---|---|
| public List | |
| getPattern | back to summary |
|---|---|
| public Pattern getPattern() | |
| getPosition | back to summary |
|---|---|
| public int getPosition() | |
| getPriority | back to summary |
|---|---|
| public double getPriority() | |
| getStylesheet | back to summary |
|---|---|
| public Stylesheet getStylesheet() Overrides com. Doc from com. Get the Stylesheet node that represents the <xsl:stylesheet/> element that this node occured under. | |
| hasParams | back to summary |
|---|---|
| public boolean hasParams() | |
| isNamed | back to summary |
|---|---|
| public boolean isNamed() | |
| isSimpleNamedTemplate | back to summary |
|---|---|
| public boolean isSimpleNamedTemplate() | |
| isSimplified | back to summary |
|---|---|
| public boolean isSimplified() | |
| parseContents | back to summary |
|---|---|
| public void parseContents(Parser parser) Overrides com. Doc from com. Parse the contents of this syntax tree nodes (child nodes, XPath expressions, patterns and functions). The default behaviour is to parser the syntax tree node's children (since there are no common expressions, patterns, etc. that can be handled in this base class. | |
| parseSimplified | back to summary |
|---|---|
| public void parseSimplified(Stylesheet stylesheet, Parser parser) When the parser realises that it is dealign with a simplified stylesheet it will create an empty Stylesheet object with the root element of the stylesheet (a LiteralElement object) as its only child. The Stylesheet object will then create this Template object and invoke this method to force some specific behaviour. What we need to do is: o) create a pattern matching on the root node o) add the LRE root node (the only child of the Stylesheet) as our only child node o) set the empty Stylesheet as our parent o) set this template as the Stylesheet's only child | |
| resolveNamedTemplates | back to summary |
|---|---|
| private boolean resolveNamedTemplates(Template other, Parser parser) | |
| setName | back to summary |
|---|---|
| public void setName(QName qname) | |
| setSimplified | back to summary |
|---|---|
| public void setSimplified() | |
| translate | back to summary |
|---|---|
| public void translate(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Doc from com. Translate this node into JVM bytecodes. | |
| typeCheck | back to summary |
|---|---|
| public Type typeCheck(SymbolTable stable) throws TypeCheckError Overrides com. Doc from com. Type check all the children of this node. | |