Class XSIAttributeHandler

  • All Implemented Interfaces:
    javax.xml.transform.Result, Receiver

    public class XSIAttributeHandler
    extends ValidatingFilter
    This class processes attributes such as xsi:schemaLocation and xsi:type. To achieve this, it needs to be preceded in the pipeline by a StartTagBuffer, which buffers all attributes and namespaces, because the xsi:type and schemaLocation need to be processed before the start element event. Apart from the StartTagBuffer, this is the first class in the validation pipeline.

    The main work of this class can be done in the startElement event, because the StartTagBuffer ensures that by this time, all the namespaces and attributes for the element are known and accessible.

    • Constructor Detail

      • XSIAttributeHandler

        public XSIAttributeHandler​(ValidationStack out)
        Create a handler for xsi: attributes
        Parameters:
        out - the next filter in the pipeline