Class XSLTElementDef

java.lang.Object
org.apache.xalan.processor.XSLTElementDef
Direct Known Subclasses:
XSLTSchema

public class XSLTElementDef extends Object
This class defines the allowed structure for an element in a XSLT stylesheet, is meant to reflect the structure defined in http://www.w3.org/TR/xslt#dtd, and the mapping between Xalan classes and the markup elements in the XSLT instance. This actually represents both text nodes and elements.
  • Method Details

    • getElements

      public XSLTElementDef[] getElements()
      Get the allowed elements for this type.
      Returns:
      An array of allowed child element defs, or null.
    • getElementProcessor

      public XSLTElementProcessor getElementProcessor()
      Return the XSLTElementProcessor for this element.
      Returns:
      The element processor for this element.
    • setElementProcessor

      public void setElementProcessor(XSLTElementProcessor handler)
      Set the XSLTElementProcessor for this element.
      Parameters:
      handler - The element processor for this element.