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(String name)
Convenience method.
|
XSAttributeGroupDefinition |
getAttributeGroup(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(String name)
Convenience method.
|
XSIDCDefinition |
getIDCDefinition(String name)
Convenience method.
|
XSModelGroupDefinition |
getModelGroupDefinition(String name)
Convenience method.
|
XSNotationDeclaration |
getNotationDeclaration(String name)
Convenience method.
|
String |
getSchemaNamespace()
[schema namespace]: A namespace name or
null if absent. |
XSTypeDefinition |
getTypeDefinition(String name)
Convenience method.
|
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(String name)
name
- The name of the declaration.null
if such a
declaration does not exist.XSAttributeDeclaration getAttributeDeclaration(String name)
name
- The name of the declaration.null
if such
a declaration does not exist.XSTypeDefinition getTypeDefinition(String name)
name
- The name of the definition.XSTypeDefinition
or null
if such
a definition does not exist.XSAttributeGroupDefinition getAttributeGroup(String name)
name
- The name of the definition.null
if
such a definition does not exist.XSModelGroupDefinition getModelGroupDefinition(String name)
name
- The name of the definition.null
if such a definition does not exist.XSNotationDeclaration getNotationDeclaration(String name)
name
- The name of the declaration.null
if such
a declaration does not exist.XSIDCDefinition getIDCDefinition(String name)
name
- The name of the definition.null
if such
a declaration does not exist.StringList getDocumentLocations()
XSModel
.Copyright © 2019 JBoss by Red Hat. All rights reserved.