Class SchemaProcessor

java.lang.Object
com.sun.xml.analysis.frequency.SchemaProcessor

public class SchemaProcessor extends Object
A Schema processor that collects the namespaces, local names, elements and attributes declared in a set of schema.

TODO: add default values for attribute/element simple content. : enums used for attribute/element simple content

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

    • SchemaProcessor

      public SchemaProcessor(URL schema)
    • SchemaProcessor

      public SchemaProcessor(URL schema, boolean collectValues, boolean generatePrefixes)
    • SchemaProcessor

      public SchemaProcessor(List<URL> schema)
    • SchemaProcessor

      public SchemaProcessor(List<URL> schema, boolean collectValues, boolean generatePrefixes)
  • Method Details

    • process

      public void process() throws Exception
      Process the schema to produce the set of properties of information items.
      Throws:
      Exception
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception