Package com.thaiopensource.relaxng.edit
Class NameNameClass
- java.lang.Object
-
- com.thaiopensource.relaxng.edit.SourceObject
-
- com.thaiopensource.relaxng.edit.Annotated
-
- com.thaiopensource.relaxng.edit.NameClass
-
- com.thaiopensource.relaxng.edit.NameNameClass
-
public class NameNameClass extends NameClass
-
-
Field Summary
-
Fields inherited from class com.thaiopensource.relaxng.edit.NameClass
INHERIT_NS
-
-
Constructor Summary
Constructors Constructor Description NameNameClass(java.lang.String namespaceUri, java.lang.String localName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(NameClassVisitor<T> visitor)java.lang.StringgetLocalName()java.lang.StringgetNamespaceUri()java.lang.StringgetPrefix()Returns non-empty string or null if there was no prefix.booleanmayContainText()voidsetLocalName(java.lang.String localName)voidsetNamespaceUri(java.lang.String namespaceUri)voidsetPrefix(java.lang.String prefix)prefix must be non-empty string or null if there is no prefix.-
Methods inherited from class com.thaiopensource.relaxng.edit.Annotated
attributeAnnotationsAccept, childElementAnnotationsAccept, followingElementAnnotationsAccept, getAttributeAnnotation, getAttributeAnnotations, getChildElementAnnotations, getContext, getFollowingElementAnnotations, getLeadingComments, leadingCommentsAccept, setContext
-
Methods inherited from class com.thaiopensource.relaxng.edit.SourceObject
getSourceLocation, setSourceLocation
-
-
-
-
Method Detail
-
getNamespaceUri
public java.lang.String getNamespaceUri()
-
setNamespaceUri
public void setNamespaceUri(java.lang.String namespaceUri)
-
getLocalName
public java.lang.String getLocalName()
-
setLocalName
public void setLocalName(java.lang.String localName)
-
getPrefix
public java.lang.String getPrefix()
Returns non-empty string or null if there was no prefix.
-
setPrefix
public void setPrefix(java.lang.String prefix)
prefix must be non-empty string or null if there is no prefix.
-
mayContainText
public boolean mayContainText()
- Overrides:
mayContainTextin classAnnotated
-
accept
public <T> T accept(NameClassVisitor<T> visitor)
-
-