public class SchemaModel extends Object implements Serializable
Constructor and Description |
---|
SchemaModel(List<SchemaElementComplex> components,
List<String> namespaces)
Ctor.
|
SchemaModel(SchemaElementComplex component,
List<String> namespaces)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
List<SchemaElementComplex> |
getComponents()
Returns top-level components.
|
List<String> |
getNamespaces()
Returns namespaces.
|
public SchemaModel(List<SchemaElementComplex> components, List<String> namespaces)
components
- the top level components.namespaces
- list of namespacespublic SchemaModel(SchemaElementComplex component, List<String> namespaces)
component
- top level componentnamespaces
- list of namespacespublic List<SchemaElementComplex> getComponents()