| com.sun.xml.xsom.XSDeclaration
All known Subclasses: com.sun.xml.xsom.impl.DeclarationImpl,
XSDeclaration | public interface XSDeclaration extends XSComponent(Code) | | Base interface of all "declarations".
author: Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com) |
Method Summary | |
String | getName() Gets the (local) name of the declaration. | String | getTargetNamespace() Target namespace to which this component belongs. | boolean | isAnonymous() | boolean | isGlobal() Returns true if this declaration is a global declaration. | boolean | isLocal() Returns true if this declaration is a local declaration. |
getName | String getName()(Code) | | Gets the (local) name of the declaration.
null if this component is anonymous. |
getTargetNamespace | String getTargetNamespace()(Code) | | Target namespace to which this component belongs.
"" is used to represent the default no namespace.
|
isAnonymous | boolean isAnonymous()(Code) | | |
isGlobal | boolean isGlobal()(Code) | | Returns true if this declaration is a global declaration.
Global declarations are those declaration that can be enumerated
through the schema object.
|
isLocal | boolean isLocal()(Code) | | Returns true if this declaration is a local declaration.
Equivalent of !isGlobal()
|
|
|