|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.stream.events.DummyEvent
com.sun.xml.stream.events.AttributeImpl
com.sun.xml.stream.events.NamespaceImpl
public class NamespaceImpl
Field Summary |
---|
Fields inherited from class com.sun.xml.stream.events.DummyEvent |
---|
fLocation |
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 | |
---|---|
NamespaceImpl()
|
|
NamespaceImpl(java.lang.String namespaceURI)
Creates a new instance of NamespaceImpl |
|
NamespaceImpl(java.lang.String prefix,
java.lang.String namespaceURI)
|
Method Summary | |
---|---|
int |
getEventType()
|
java.lang.String |
getNamespaceURI()
|
java.lang.String |
getPrefix()
|
protected void |
init()
|
boolean |
isDefaultNamespaceDeclaration()
|
boolean |
isNamespace()
A utility function to check if this event is a Namespace. |
Methods inherited from class com.sun.xml.stream.events.AttributeImpl |
---|
getDTDType, getName, getNonNormalizedValue, getValue, isSpecified, setAttributeType, setName, setNonNormalizedValue, setSpecified, setValue, toString, writeAsEncodedUnicode |
Methods inherited from class com.sun.xml.stream.events.DummyEvent |
---|
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacterData, isCharacters, isEndDocument, isEndElement, isEntityReference, isProcessingInstruction, isStartDocument, isStartElement, setEventType |
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, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
Constructor Detail |
---|
public NamespaceImpl()
public NamespaceImpl(java.lang.String namespaceURI)
public NamespaceImpl(java.lang.String prefix, java.lang.String namespaceURI)
Method Detail |
---|
public boolean isDefaultNamespaceDeclaration()
isDefaultNamespaceDeclaration
in interface javax.xml.stream.events.Namespace
public java.lang.String getPrefix()
getPrefix
in interface javax.xml.stream.events.Namespace
public java.lang.String getNamespaceURI()
getNamespaceURI
in interface javax.xml.stream.events.Namespace
protected void init()
init
in class AttributeImpl
public int getEventType()
getEventType
in interface javax.xml.stream.events.XMLEvent
getEventType
in class DummyEvent
public boolean isNamespace()
DummyEvent
isNamespace
in interface javax.xml.stream.events.XMLEvent
isNamespace
in class DummyEvent
Namespace
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |