XSComponent
, XSDeclaration
, XSNotation
public class NotationImpl extends ComponentImpl implements XSNotation
ownerDocument
Constructor | Description |
---|---|
NotationImpl(SchemaDocumentImpl owner,
AnnotationImpl _annon,
org.xml.sax.Locator _loc,
ForeignAttributesImpl _fa,
java.lang.String _name,
java.lang.String _publicId,
java.lang.String _systemId) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
apply(XSFunction function) |
Accepts a functor.
|
java.lang.String |
getName() |
Gets the (local) name of the declaration.
|
java.lang.String |
getPublicId() |
|
java.lang.String |
getSystemId() |
|
java.lang.String |
getTargetNamespace() |
Target namespace to which this component belongs.
|
boolean |
isAnonymous() |
Deprecated.
|
boolean |
isGlobal() |
Returns true if this declaration is a global declaration.
|
boolean |
isLocal() |
Returns true if this declaration is a local declaration.
|
void |
visit(XSVisitor visitor) |
Accepts a visitor.
|
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle
getName, getTargetNamespace, isAnonymous, isGlobal, isLocal
public NotationImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, org.xml.sax.Locator _loc, ForeignAttributesImpl _fa, java.lang.String _name, java.lang.String _publicId, java.lang.String _systemId)
public java.lang.String getPublicId()
getPublicId
in interface XSNotation
public java.lang.String getSystemId()
getSystemId
in interface XSNotation
public void visit(XSVisitor visitor)
XSComponent
visit
in interface XSComponent
public java.lang.Object apply(XSFunction function)
XSComponent
apply
in interface XSComponent
public java.lang.String getName()
XSDeclaration
getName
in interface XSDeclaration
public java.lang.String getTargetNamespace()
XSDeclaration
""
is used to represent the default no namespace.getTargetNamespace
in interface XSDeclaration
public boolean isAnonymous()
isAnonymous
in interface XSDeclaration
public final boolean isGlobal()
XSDeclaration
isGlobal
in interface XSDeclaration
public final boolean isLocal()
XSDeclaration
!isGlobal()
isLocal
in interface XSDeclaration
Copyright © 2018 Oracle Corporation. All rights reserved.