com.bea.xml.stream
public class NamespaceBase extends AttributeBase implements javax.xml.stream.events.Namespace
The default implementation of the namespace class
Constructor and Description |
---|
NamespaceBase(java.lang.String namespaceURI) |
NamespaceBase(java.lang.String prefix,
java.lang.String namespaceURI) |
Modifier and Type | Method and Description |
---|---|
int |
getEventType() |
java.lang.String |
getNamespaceURI() |
java.lang.String |
getPrefix() |
boolean |
isAttribute() |
boolean |
isDefaultNamespaceDeclaration() |
boolean |
isNamespace() |
java.lang.String |
toString() |
asCharacters, asEndElement, asStartElement, getCharacterOffset, getColumnNumber, getDTDType, getLineNumber, getLocalName, getLocation, getLocationURI, getName, getPublicId, getSchemaType, getSourceName, getSystemId, getValue, hasName, isCharacters, isDefault, isEndDocument, isEndElement, isEndEntity, isEntityReference, isNamespaceDeclaration, isProcessingInstruction, isSpecified, isStartDocument, isStartElement, isStartEntity, recycle, setCharacterOffset, setColumnNumber, setLineNumber, setLocationURI, setNamespaceURI, writeAsEncodedUnicode, writeEncodedChar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public NamespaceBase(java.lang.String prefix, java.lang.String namespaceURI)
public NamespaceBase(java.lang.String namespaceURI)
public int getEventType()
getEventType
in interface javax.xml.stream.events.XMLEvent
getEventType
in class AttributeBase
public boolean isAttribute()
isAttribute
in interface javax.xml.stream.events.XMLEvent
isAttribute
in class AttributeBase
public boolean isNamespace()
isNamespace
in interface javax.xml.stream.events.XMLEvent
isNamespace
in class AttributeBase
public java.lang.String getPrefix()
getPrefix
in interface javax.xml.stream.events.Namespace
public java.lang.String getNamespaceURI()
getNamespaceURI
in interface javax.xml.stream.events.Namespace
getNamespaceURI
in class AttributeBase
public boolean isDefaultNamespaceDeclaration()
isDefaultNamespaceDeclaration
in interface javax.xml.stream.events.Namespace
public java.lang.String toString()
toString
in class AttributeBase