Package javanet.staxutils.events
Class NamespaceEvent
java.lang.Object
javanet.staxutils.events.AbstractXMLEvent
javanet.staxutils.events.AttributeEvent
javanet.staxutils.events.NamespaceEvent
- All Implemented Interfaces:
Serializable,Cloneable,ExtendedXMLEvent,Attribute,Namespace,XMLEvent,XMLStreamConstants
Namespace event implementation.- Version:
- $Revision: 1.3 $
- Author:
- Christian Niles
- See Also:
-
Field Summary
FieldsFields inherited from class javanet.staxutils.events.AbstractXMLEvent
location, schemaTypeFields 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
ConstructorsConstructorDescriptionNamespaceEvent(String prefix, String nsURI) NamespaceEvent(String prefix, String nsURI, Location location) -
Method Summary
Methods inherited from class javanet.staxutils.events.AttributeEvent
getDTDType, getName, getValue, isSpecifiedMethods inherited from class javanet.staxutils.events.AbstractXMLEvent
asCharacters, asEndElement, asStartElement, clone, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, matches, toString, writeAsEncodedUnicode, writeEventMethods inherited from class java.lang.Object
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, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
-
Field Details
-
DEFAULT_NS_DECL
-
-
Constructor Details
-
NamespaceEvent
-
NamespaceEvent
-
-
Method Details
-
getEventType
public int getEventType()ReturnsXMLStreamConstants.NAMESPACE.- Specified by:
getEventTypein interfaceXMLEvent- Overrides:
getEventTypein classAttributeEvent
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNamespace
-
getPrefix
-
isDefaultNamespaceDeclaration
public boolean isDefaultNamespaceDeclaration()- Specified by:
isDefaultNamespaceDeclarationin interfaceNamespace
-