public class SchemaProcessor extends Object
Maps of element/attribute local name to a set of XSDataType are created when a schema is processed.
| Constructor and Description |
|---|
SchemaProcessor(List<URL> schema) |
SchemaProcessor(URL schema) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public SchemaProcessor(URL schema)
public Map<String,Set<XSDataType>> getElementToXSDataTypeMap()
public Map<String,Set<XSDataType>> getAttributeToXSDataTypeMap()
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.ExceptionCopyright © 2016 Oracle Corpration. All rights reserved.