public interface XSDeclaration extends XSComponent
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Gets the (local) name of the declaration.
|
java.lang.String |
getTargetNamespace()
Target namespace to which this component belongs.
|
boolean |
isAnonymous()
Deprecated.
use the isGlobal method, which always returns
the opposite of this function. Or the isLocal method.
|
boolean |
isGlobal()
Returns true if this declaration is a global declaration.
|
boolean |
isLocal()
Returns true if this declaration is a local declaration.
|
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
java.lang.String getTargetNamespace()
""
is used to represent the default no namespace.java.lang.String getName()
boolean isAnonymous()
boolean isGlobal()
boolean isLocal()
!isGlobal()