Class SchemaProcessor


  • public class SchemaProcessor
    extends Object
    A Schema processor that collects the XSD simple types of elements and attributes declarations.

    Maps of element/attribute local name to a set of XSDataType are created when a schema is processed.

    Author:
    Paul.Sandoz@Sun.Com
    • Constructor Detail

      • SchemaProcessor

        public SchemaProcessor​(URL schema)
      • SchemaProcessor

        public SchemaProcessor​(List<URL> schema)
    • Method Detail

      • process

        public void process​(Set<XSDataType> filter)
                     throws Exception
        Process the schema.

        Parameters:
        filter - if not null only include elements/attributes with simple types if it is present in the Set of XS data type. Otherwise all elements/attributes with simple types are included.
        Throws:
        Exception