public class NamespaceImpl extends AttributeImpl implements Namespace
fLocationATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT| Constructor and Description |
|---|
NamespaceImpl() |
NamespaceImpl(String namespaceURI)
Creates a new instance of NamespaceImpl
|
NamespaceImpl(String prefix,
String namespaceURI) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEventType() |
String |
getNamespaceURI() |
String |
getPrefix() |
protected void |
init() |
boolean |
isDefaultNamespaceDeclaration() |
boolean |
isNamespace()
A utility function to check if this event is a Namespace.
|
getDTDType, getName, getNonNormalizedValue, getValue, isSpecified, setAttributeType, setName, setNonNormalizedValue, setSpecified, setValue, toString, writeAsEncodedUnicodeExasCharacters, asEndElement, asStartElement, charEncode, getLocation, getSchemaType, isAttribute, isCharacterData, isCharacters, isEndDocument, isEndElement, isEntityReference, isProcessingInstruction, isStartDocument, isStartElement, setEventType, writeAsEncodedUnicodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDTDType, getName, getValue, isSpecifiedasCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodepublic NamespaceImpl()
public NamespaceImpl(String namespaceURI)
public boolean isDefaultNamespaceDeclaration()
isDefaultNamespaceDeclaration in interface Namespacepublic String getNamespaceURI()
getNamespaceURI in interface Namespaceprotected void init()
init in class AttributeImplpublic int getEventType()
getEventType in interface XMLEventgetEventType in class DummyEventpublic boolean isNamespace()
DummyEventisNamespace in interface XMLEventisNamespace in class DummyEventNamespaceCopyright © 2018–2021 mhoffrogge. All rights reserved.