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, writeEncodedCharMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.xml.stream.events.Attribute
getDTDType, getName, getValue, isSpecifiedMethods 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:
getEventTypein interfaceXMLEvent- Overrides:
getEventTypein classAttributeBase
-
isAttribute
public boolean isAttribute()- Specified by:
isAttributein interfaceXMLEvent- Overrides:
isAttributein classAttributeBase
-
isNamespace
public boolean isNamespace()- Specified by:
isNamespacein interfaceXMLEvent- Overrides:
isNamespacein classAttributeBase
-
getPrefix
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNamespace- Overrides:
getNamespaceURIin classAttributeBase
-
isDefaultNamespaceDeclaration
public boolean isDefaultNamespaceDeclaration()- Specified by:
isDefaultNamespaceDeclarationin interfaceNamespace
-
toString
- Overrides:
toStringin classAttributeBase
-