Class XSLItemType

    • Constructor Detail

      • XSLItemType

        public XSLItemType()
    • Method Detail

      • isDeclaration

        public boolean isDeclaration()
        Description copied from class: StyleElement
        Ask whether this node is a declaration, that is, a permitted child of xsl:stylesheet (including xsl:include and xsl:import). The default implementation returns false
        isDeclaration in class StyleElement
        true if the element is a permitted child of xsl:stylesheet or xsl:transform
      • prepareAttributes

        protected void prepareAttributes()
        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
      • getObjectName

        public StructuredQName getObjectName()
        Description copied from class: StyleElement
        Get a name identifying the object of the expression, for example a function name, template name, variable name, key name, element name, etc. This is used only where the name is known statically. If there is no name, the value will be null.
        getObjectName in class StyleElement
        the name of the object declared in this element, if any
      • validate

        public void validate​(ComponentDeclaration decl)
                      throws XPathException
        Description copied from class: StyleElement
        Check that the stylesheet 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.
        validate in class StyleElement
        decl - the declaration to be validated
        XPathException - if any error is found during validation