com.sun.xml.analysis.frequency
Class SchemaProcessor

java.lang.Object
  extended by 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 Summary
SchemaProcessor(List<URL> schema)
           
SchemaProcessor(List<URL> schema, boolean collectValues, boolean generatePrefixes)
           
SchemaProcessor(URL schema)
           
SchemaProcessor(URL schema, boolean collectValues, boolean generatePrefixes)
           
 
Method Summary
static void main(String[] args)
           
 void process()
          Process the schema to produce the set of properties of information items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

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


Copyright © 2012 Oracle Corpration. All Rights Reserved.