public class SchemaParser
extends java.lang.Object
  The SchemaParser class parses an XML Schema and creates
    Constraint
| Constructor and Description | 
|---|
| SchemaParser(java.net.URL schemaURLIn)
  This will create a new  SchemaParser, given
    the URL of the schema to parse. | 
| Modifier and Type | Method and Description | 
|---|---|
| Constraint | getConstraint(java.lang.String constraintName)
  This will get the  Constraintobject for
    a specific constraint name. | 
| java.util.Map<java.lang.String,Constraint> | getConstraints()
  This will return constraints found within the document. | 
public SchemaParser(java.net.URL schemaURLIn)
             throws java.io.IOException
  This will create a new SchemaParser, given
    the URL of the schema to parse.
 
schemaURLIn - the URL of the schema to parse.java.io.IOException - when parsing errors occur.public java.util.Map<java.lang.String,Constraint> getConstraints()
This will return constraints found within the document.
Map - the schema-defined constraints.public Constraint getConstraint(java.lang.String constraintName)
  This will get the Constraint object for
    a specific constraint name. If none is found, this
    will return null.
 
constraintName - name of constraint to look up.Constraint - constraints for
         supplied name.