Class SchemaHandler

  • All Implemented Interfaces:
    Serializable

    public class SchemaHandler
    extends XSIElementHandler
    SchemaHandler purpose.

    represents a Schema element

    Author:
    dzwiers, Refractions Research, Inc. http://www.refractions.net, $Author:$ (last modification)
    See Also:
    Serialized Form
    • Constructor Detail

      • SchemaHandler

        public SchemaHandler()
    • Method Detail

      • startPrefixMapping

        public void startPrefixMapping​(String pref,
                                       String uri1)
        See Also:
        ContentHandler.startPrefixMapping(java.lang.String, java.lang.String)
      • compress

        protected Schema compress​(URI thisURI)
                           throws SAXException
        creates a smaller, more compact version of the schema
        Throws:
        SAXException
      • lookUpSimpleType

        protected SimpleType lookUpSimpleType​(String qname)
        convinience method for package classes
      • lookUpComplexType

        protected ComplexType lookUpComplexType​(String qname)
                                         throws SAXException
        convinience method for package
        Throws:
        SAXException
      • lookUpElement

        protected Element lookUpElement​(String qname)
                                 throws SAXException
        convinience method for package
        Throws:
        SAXException
      • lookUpGroup

        protected Group lookUpGroup​(String qname)
                             throws SAXException
        convinience method for package
        Throws:
        SAXException
      • lookUpAttributeGroup

        protected AttributeGroup lookUpAttributeGroup​(String qname)
                                               throws SAXException
        convinience method for the package
        Throws:
        SAXException
      • lookUpAttribute

        protected Attribute lookUpAttribute​(String qname)
                                     throws SAXException
        convinience method for package
        Throws:
        SAXException
      • lookUpType

        protected Type lookUpType​(String qname)
                           throws SAXException
        convinience method for package
        Throws:
        SAXException
      • getTargetNamespace

        public URI getTargetNamespace()
        Returns:
        Returns the targetNamespace.