|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xpath.XPathVisitor org.apache.xalan.templates.XSLTVisitor
public class XSLTVisitor
A derivation from this class can be passed to a class that implements the XSLTVisitable interface, to have the appropriate method called for each component of an XSLT stylesheet. Aside from possible other uses, the main intention is to provide a reasonable means to perform expression rewriting.
Constructor Summary | |
---|---|
XSLTVisitor()
|
Method Summary | |
---|---|
boolean |
visitAVT(AVT elem)
Visit an Attribute Value Template (at the top level). |
boolean |
visitExtensionElement(ElemExtensionCall elem)
Visit an extension element. |
boolean |
visitInstruction(ElemTemplateElement elem)
Visit an XSLT instruction. |
boolean |
visitLiteralResultElement(ElemLiteralResult elem)
Visit a LiteralResultElement. |
boolean |
visitStylesheet(ElemTemplateElement elem)
Visit an XSLT stylesheet instruction. |
boolean |
visitTopLevelInstruction(ElemTemplateElement elem)
Visit an XSLT top-level instruction. |
boolean |
visitTopLevelVariableOrParamDecl(ElemTemplateElement elem)
Visit an XSLT top-level instruction. |
boolean |
visitVariableOrParamDecl(ElemVariable elem)
Visit an XSLT variable or parameter declaration. |
Methods inherited from class org.apache.xpath.XPathVisitor |
---|
visitBinaryOperation, visitFunction, visitLocationPath, visitMatchPattern, visitNumberLiteral, visitPredicate, visitStep, visitStringLiteral, visitUnaryOperation, visitUnionPath, visitUnionPattern, visitVariableRef |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSLTVisitor()
Method Detail |
---|
public boolean visitInstruction(ElemTemplateElement elem)
elem
- The xsl instruction element object.
public boolean visitStylesheet(ElemTemplateElement elem)
elem
- The xsl instruction element object.
public boolean visitTopLevelInstruction(ElemTemplateElement elem)
elem
- The xsl instruction element object.
public boolean visitTopLevelVariableOrParamDecl(ElemTemplateElement elem)
elem
- The xsl instruction element object.
public boolean visitVariableOrParamDecl(ElemVariable elem)
elem
- The xsl instruction element object.
public boolean visitLiteralResultElement(ElemLiteralResult elem)
elem
- The literal result object.
public boolean visitAVT(AVT elem)
elem
- The attribute value template object.
public boolean visitExtensionElement(ElemExtensionCall elem)
elem
- The extension object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |