public interface XSNamespaceItem
| Modifier and Type | Method and Description |
|---|---|
XSObjectList |
getAnnotations()
[annotations]: a set of annotations if it exists, otherwise an empty
XSObjectList. |
XSAttributeDeclaration |
getAttributeDeclaration(java.lang.String name)
Convenience method.
|
XSAttributeGroupDefinition |
getAttributeGroup(java.lang.String name)
Convenience method.
|
XSNamedMap |
getComponents(short objectType)
[schema components]: a list of top-level components, i.e.
|
StringList |
getDocumentLocations()
[document location] - a list of location URIs for the documents that
contributed to the
XSModel. |
XSElementDeclaration |
getElementDeclaration(java.lang.String name)
Convenience method.
|
XSIDCDefinition |
getIDCDefinition(java.lang.String name)
Convenience method.
|
XSModelGroupDefinition |
getModelGroupDefinition(java.lang.String name)
Convenience method.
|
XSNotationDeclaration |
getNotationDeclaration(java.lang.String name)
Convenience method.
|
java.lang.String |
getSchemaNamespace()
[schema namespace]: A namespace name or
null if absent. |
XSTypeDefinition |
getTypeDefinition(java.lang.String name)
Convenience method.
|
java.lang.String getSchemaNamespace()
null if absent.XSNamedMap getComponents(short objectType)
objectType - The type of the declaration, i.e.
ELEMENT_DECLARATION. Note that
XSTypeDefinition.SIMPLE_TYPE and
XSTypeDefinition.COMPLEX_TYPE can also be used as the
objectType to retrieve only complex types or simple
types, instead of all types.objectType or an empty XSNamedMap if no
such definitions exist.XSObjectList getAnnotations()
XSObjectList.XSElementDeclaration getElementDeclaration(java.lang.String name)
name - The name of the declaration.null if such a
declaration does not exist.XSAttributeDeclaration getAttributeDeclaration(java.lang.String name)
name - The name of the declaration.null if such
a declaration does not exist.XSTypeDefinition getTypeDefinition(java.lang.String name)
name - The name of the definition.XSTypeDefinition or null if such
a definition does not exist.XSAttributeGroupDefinition getAttributeGroup(java.lang.String name)
name - The name of the definition.null if
such a definition does not exist.XSModelGroupDefinition getModelGroupDefinition(java.lang.String name)
name - The name of the definition.null if such a definition does not exist.XSNotationDeclaration getNotationDeclaration(java.lang.String name)
name - The name of the declaration.null if such
a declaration does not exist.XSIDCDefinition getIDCDefinition(java.lang.String name)
name - The name of the definition.null if such
a declaration does not exist.StringList getDocumentLocations()
XSModel.Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.