org.apache.xerces.stax.events
Class NamespaceImpl
java.lang.Object
org.apache.xerces.stax.events.XMLEventImpl
org.apache.xerces.stax.events.AttributeImpl
org.apache.xerces.stax.events.NamespaceImpl
- All Implemented Interfaces:
- Attribute, Namespace, XMLEvent, XMLStreamConstants
public final class NamespaceImpl
- extends AttributeImpl
- implements Namespace
- Version:
- $Id: NamespaceImpl.java 730477 2008-12-31 20:57:07Z mrglavas $
- Author:
- Lucian Holland
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 org.apache.xerces.stax.events.XMLEventImpl |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, toString |
Methods inherited from interface javax.xml.stream.events.XMLEvent |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
NamespaceImpl
public NamespaceImpl(String prefix,
String namespaceURI,
Location location)
- Parameters:
location
- schemaType
-
getPrefix
public String getPrefix()
- Specified by:
getPrefix
in interface Namespace
- See Also:
Namespace.getPrefix()
getNamespaceURI
public String getNamespaceURI()
- Specified by:
getNamespaceURI
in interface Namespace
- See Also:
Namespace.getNamespaceURI()
isDefaultNamespaceDeclaration
public boolean isDefaultNamespaceDeclaration()
- Specified by:
isDefaultNamespaceDeclaration
in interface Namespace
- See Also:
Namespace.isDefaultNamespaceDeclaration()
Copyright © 2011. All Rights Reserved.