|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSNamespaceItem
The interface represents the namespace schema information information item. Each namespace schema information information item corresponds to an XML Schema with a unique namespace name.
Method Summary | |
---|---|
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. |
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. |
Method Detail |
---|
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.StringList getDocumentLocations()
XSModel
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |