Class AbsentExtensionElement

  • All Implemented Interfaces:
    NodeInfo, javax.xml.transform.dom.DOMLocator, javax.xml.transform.Source, javax.xml.transform.SourceLocator, org.w3c.dom.Element, org.w3c.dom.NamedNodeMap, org.w3c.dom.Node, org.xml.sax.Locator

    public class AbsentExtensionElement
    extends StyleElement
    This element is a surrogate for an extension element (or indeed an xsl element) for which no implementation is available.
    • Constructor Detail

      • AbsentExtensionElement

        public AbsentExtensionElement()
    • Method Detail

      • mayContainTemplateBody

        public boolean mayContainTemplateBody()
        Determine whether this type of element is allowed to contain a template-body
        Overrides:
        mayContainTemplateBody in class StyleElement
      • prepareAttributes

        public void prepareAttributes()
                               throws javax.xml.transform.TransformerConfigurationException
        Description copied from class: StyleElement
        Set the attribute list for the element. This is called to process the attributes (note the distinction from processAttributes in the superclass). Must be supplied in a subclass
        Specified by:
        prepareAttributes in class StyleElement
        Throws:
        javax.xml.transform.TransformerConfigurationException
      • processAllAttributes

        public void processAllAttributes()
                                  throws javax.xml.transform.TransformerConfigurationException
        Process the attributes of this element and all its children. For an unrecognized top-level element in forwards-compatibility mode, ignore this element and its children
        Overrides:
        processAllAttributes in class StyleElement
        Throws:
        javax.xml.transform.TransformerConfigurationException
      • validate

        public void validate()
                      throws javax.xml.transform.TransformerConfigurationException
        Description copied from class: StyleElement
        Check that the element is valid. This is called once for each element, after the entire tree has been built. As well as validation, it can perform first-time initialisation. The default implementation does nothing; it is normally overriden in subclasses.
        Overrides:
        validate in class StyleElement
        Throws:
        javax.xml.transform.TransformerConfigurationException
      • validateSubtree

        public void validateSubtree()
                             throws javax.xml.transform.TransformerConfigurationException
        Recursive walk through the stylesheet to validate all nodes. For an unrecognized top-level element in forwards-compatibility mode, ignore this element and its children
        Overrides:
        validateSubtree in class StyleElement
        Throws:
        javax.xml.transform.TransformerConfigurationException
      • process

        public void process​(Context context)
                     throws javax.xml.transform.TransformerException
        Description copied from class: StyleElement
        Process: called to do the real work of this stylesheet element. This method must be implemented in each subclass.
        Specified by:
        process in class StyleElement
        Parameters:
        context - The context in the source XML document, giving access to the current node, the current variables, etc.
        Throws:
        javax.xml.transform.TransformerException