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
Fields inherited from interface javax.xml.stream.XMLStreamConstants |
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT |
Constructor Summary |
NamespaceBase(java.lang.String namespaceURI)
|
NamespaceBase(java.lang.String prefix,
java.lang.String namespaceURI)
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.xml.stream.events.Attribute |
getDTDType, getName, getValue, isSpecified |
Methods inherited from interface javax.xml.stream.events.XMLEvent |
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isCharacters, isEndDocument, isEndElement, isEntityReference, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
NamespaceBase
public NamespaceBase(java.lang.String prefix,
java.lang.String namespaceURI)
NamespaceBase
public NamespaceBase(java.lang.String namespaceURI)
getEventType
public int getEventType()
- Specified by:
getEventType
in interface javax.xml.stream.events.XMLEvent
- Overrides:
getEventType
in class AttributeBase
isAttribute
public boolean isAttribute()
- Specified by:
isAttribute
in interface javax.xml.stream.events.XMLEvent
- Overrides:
isAttribute
in class AttributeBase
isNamespace
public boolean isNamespace()
- Specified by:
isNamespace
in interface javax.xml.stream.events.XMLEvent
- Overrides:
isNamespace
in class AttributeBase
getPrefix
public java.lang.String getPrefix()
- Specified by:
getPrefix
in interface javax.xml.stream.events.Namespace
getNamespaceURI
public java.lang.String getNamespaceURI()
- Specified by:
getNamespaceURI
in interface javax.xml.stream.events.Namespace
- Overrides:
getNamespaceURI
in class AttributeBase
isDefaultNamespaceDeclaration
public boolean isDefaultNamespaceDeclaration()
- Specified by:
isDefaultNamespaceDeclaration
in interface javax.xml.stream.events.Namespace
toString
public java.lang.String toString()
- Overrides:
toString
in class AttributeBase