Package com.bea.xml.stream
Class NamespaceBase
java.lang.Object
com.bea.xml.stream.AttributeBase
com.bea.xml.stream.NamespaceBase
- All Implemented Interfaces:
Attribute
,Namespace
,XMLEvent
,Location
,XMLStreamConstants
The default implementation of the namespace class
-
Field Summary
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
ConstructorsConstructorDescriptionNamespaceBase
(String namespaceURI) NamespaceBase
(String prefix, String namespaceURI) -
Method Summary
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
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
-
Constructor Details
-
NamespaceBase
-
NamespaceBase
-
-
Method Details
-
getEventType
public int getEventType()- Specified by:
getEventType
in interfaceXMLEvent
- Overrides:
getEventType
in classAttributeBase
-
isAttribute
public boolean isAttribute()- Specified by:
isAttribute
in interfaceXMLEvent
- Overrides:
isAttribute
in classAttributeBase
-
isNamespace
public boolean isNamespace()- Specified by:
isNamespace
in interfaceXMLEvent
- Overrides:
isNamespace
in classAttributeBase
-
getPrefix
-
getNamespaceURI
- Specified by:
getNamespaceURI
in interfaceNamespace
- Overrides:
getNamespaceURI
in classAttributeBase
-
isDefaultNamespaceDeclaration
public boolean isDefaultNamespaceDeclaration()- Specified by:
isDefaultNamespaceDeclaration
in interfaceNamespace
-
toString
- Overrides:
toString
in classAttributeBase
-