Package com.bea.xml.stream
Class NamespaceBase
- java.lang.Object
-
- com.bea.xml.stream.AttributeBase
-
- com.bea.xml.stream.NamespaceBase
-
- All Implemented Interfaces:
javax.xml.stream.events.Attribute
,javax.xml.stream.events.Namespace
,javax.xml.stream.events.XMLEvent
,javax.xml.stream.Location
,javax.xml.stream.XMLStreamConstants
public class NamespaceBase extends AttributeBase implements javax.xml.stream.events.Namespace
The default implementation of the namespace class
-
-
Constructor Summary
Constructors Constructor Description NamespaceBase(java.lang.String namespaceURI)
NamespaceBase(java.lang.String prefix, java.lang.String namespaceURI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEventType()
java.lang.String
getNamespaceURI()
java.lang.String
getPrefix()
boolean
isAttribute()
boolean
isDefaultNamespaceDeclaration()
boolean
isNamespace()
java.lang.String
toString()
-
Methods inherited from class com.bea.xml.stream.AttributeBase
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getEventType
public int getEventType()
- Specified by:
getEventType
in interfacejavax.xml.stream.events.XMLEvent
- Overrides:
getEventType
in classAttributeBase
-
isAttribute
public boolean isAttribute()
- Specified by:
isAttribute
in interfacejavax.xml.stream.events.XMLEvent
- Overrides:
isAttribute
in classAttributeBase
-
isNamespace
public boolean isNamespace()
- Specified by:
isNamespace
in interfacejavax.xml.stream.events.XMLEvent
- Overrides:
isNamespace
in classAttributeBase
-
getPrefix
public java.lang.String getPrefix()
- Specified by:
getPrefix
in interfacejavax.xml.stream.events.Namespace
-
getNamespaceURI
public java.lang.String getNamespaceURI()
- Specified by:
getNamespaceURI
in interfacejavax.xml.stream.events.Namespace
- Overrides:
getNamespaceURI
in classAttributeBase
-
isDefaultNamespaceDeclaration
public boolean isDefaultNamespaceDeclaration()
- Specified by:
isDefaultNamespaceDeclaration
in interfacejavax.xml.stream.events.Namespace
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAttributeBase
-
-