Interface XSObject
-
- All Known Subinterfaces:
XSAnnotation
,XSAttributeDeclaration
,XSAttributeGroupDefinition
,XSAttributeUse
,XSComplexTypeDefinition
,XSElementDeclaration
,XSFacet
,XSIDCDefinition
,XSModelGroup
,XSModelGroupDefinition
,XSMultiValueFacet
,XSNotationDeclaration
,XSParticle
,XSSimpleType
,XSSimpleTypeDefinition
,XSTerm
,XSTypeDefinition
,XSWildcard
- All Known Implementing Classes:
IdentityConstraint
,KeyRef
,UniqueOrKey
,XSAnnotationImpl
,XSAttributeDecl
,XSAttributeGroupDecl
,XSAttributeUseImpl
,XSComplexTypeDecl
,XSElementDecl
,XSGroupDecl
,XSModelGroupImpl
,XSNotationDecl
,XSParticleDecl
,XSSimpleTypeDecl
,XSSimpleTypeDelegate
,XSWildcardDecl
public interface XSObject
TheXSObject
is a base object for the XML Schema component model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
The name of typeNCName
, as defined in XML Namespaces, of this declaration specified in the{name}
property of the component ornull
if the definition of this component does not have a{name}
property.String
getNamespace()
The [target namespace] of this object, ornull
if it is unspecified.XSNamespaceItem
getNamespaceItem()
A namespace schema information item corresponding to the target namespace of the component, if it is globally declared; ornull
otherwise.short
getType()
Thetype
of this object, i.e.
-
-
-
Method Detail
-
getType
short getType()
Thetype
of this object, i.e.ELEMENT_DECLARATION
.
-
getName
String getName()
The name of typeNCName
, as defined in XML Namespaces, of this declaration specified in the{name}
property of the component ornull
if the definition of this component does not have a{name}
property. For anonymous types, the processor must construct and expose an anonymous type name that is distinct from the name of every named type and the name of every other anonymous type.
-
getNamespace
String getNamespace()
The [target namespace] of this object, ornull
if it is unspecified.
-
getNamespaceItem
XSNamespaceItem getNamespaceItem()
A namespace schema information item corresponding to the target namespace of the component, if it is globally declared; ornull
otherwise.
-
-