|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.analysis.types.SchemaProcessor
public class SchemaProcessor
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.
| Constructor Summary | |
|---|---|
SchemaProcessor(List<URL> schema)
|
|
SchemaProcessor(URL schema)
|
|
| Method Summary | |
|---|---|
Map<String,Set<XSDataType>> |
getAttributeToXSDataTypeMap()
|
Map<String,Set<XSDataType>> |
getElementToXSDataTypeMap()
|
static void |
main(String[] args)
|
void |
process()
Process the schema. |
void |
process(Set<XSDataType> filter)
Process the schema. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaProcessor(URL schema)
public SchemaProcessor(List<URL> schema)
| Method Detail |
|---|
public Map<String,Set<XSDataType>> getElementToXSDataTypeMap()
public Map<String,Set<XSDataType>> getAttributeToXSDataTypeMap()
public void process()
throws Exception
Exception
public void process(Set<XSDataType> filter)
throws Exception
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.
Exception
public static void main(String[] args)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||