com.bea.xml.stream
Class NamespaceBase
java.lang.Object
com.bea.xml.stream.AttributeBase
com.bea.xml.stream.NamespaceBase
- All Implemented Interfaces:
- Attribute, Location, Namespace, XMLEvent, XMLStreamConstants
- public class NamespaceBase
- extends AttributeBase
- implements 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 |
| 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 interface javax.xml.stream.events.XMLEvent |
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isCharacters, isEndDocument, isEndElement, isEntityReference, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
declaresDefaultNamespace
boolean declaresDefaultNamespace
NamespaceBase
public NamespaceBase(String prefix,
String namespaceURI)
NamespaceBase
public NamespaceBase(String namespaceURI)
getEventType
public int getEventType()
- Specified by:
getEventType in interface XMLEvent- Overrides:
getEventType in class AttributeBase
isAttribute
public boolean isAttribute()
- Specified by:
isAttribute in interface XMLEvent- Overrides:
isAttribute in class AttributeBase
isNamespace
public boolean isNamespace()
- Specified by:
isNamespace in interface XMLEvent- Overrides:
isNamespace in class AttributeBase
getPrefix
public String getPrefix()
- Specified by:
getPrefix in interface Namespace
getNamespaceURI
public String getNamespaceURI()
- Specified by:
getNamespaceURI in interface Namespace- Overrides:
getNamespaceURI in class AttributeBase
isDefaultNamespaceDeclaration
public boolean isDefaultNamespaceDeclaration()
- Specified by:
isDefaultNamespaceDeclaration in interface Namespace
toString
public String toString()
- Overrides:
toString in class AttributeBase
Copyright © 2004 . All Rights Reserved.