Class NamespaceImpl
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.stax.events.AttributeImpl
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.stax.events.NamespaceImpl
-
- All Implemented Interfaces:
Attribute,Namespace,XMLEvent,XMLStreamConstants
public final class NamespaceImpl extends AttributeImpl implements Namespace
- Version:
- $Id$
- Author:
- Lucian Holland
-
-
Field Summary
-
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
Constructors Constructor Description NamespaceImpl(String prefix, String namespaceURI, Location location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharactersasCharacters()EndElementasEndElement()StartElementasStartElement()intgetEventType()LocationgetLocation()StringgetNamespaceURI()StringgetPrefix()QNamegetSchemaType()booleanisAttribute()booleanisCharacters()booleanisDefaultNamespaceDeclaration()booleanisEndDocument()booleanisEndElement()booleanisEntityReference()booleanisNamespace()booleanisProcessingInstruction()booleanisStartDocument()booleanisStartElement()StringtoString()-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.stax.events.AttributeImpl
getDTDType, getName, getValue, isSpecified, writeAsEncodedUnicode
-
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, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
-
-
-
-
Method Detail
-
getPrefix
public String getPrefix()
- Specified by:
getPrefixin interfaceNamespace- See Also:
Namespace.getPrefix()
-
getNamespaceURI
public String getNamespaceURI()
- Specified by:
getNamespaceURIin interfaceNamespace- See Also:
Namespace.getNamespaceURI()
-
isDefaultNamespaceDeclaration
public boolean isDefaultNamespaceDeclaration()
- Specified by:
isDefaultNamespaceDeclarationin interfaceNamespace- See Also:
Namespace.isDefaultNamespaceDeclaration()
-
getEventType
public final int getEventType()
- Specified by:
getEventTypein interfaceXMLEvent- See Also:
XMLEvent.getEventType()
-
getLocation
public final Location getLocation()
- Specified by:
getLocationin interfaceXMLEvent- See Also:
XMLEvent.getLocation()
-
isStartElement
public final boolean isStartElement()
- Specified by:
isStartElementin interfaceXMLEvent- See Also:
XMLEvent.isStartElement()
-
isAttribute
public final boolean isAttribute()
- Specified by:
isAttributein interfaceXMLEvent- See Also:
XMLEvent.isAttribute()
-
isNamespace
public final boolean isNamespace()
- Specified by:
isNamespacein interfaceXMLEvent- See Also:
XMLEvent.isNamespace()
-
isEndElement
public final boolean isEndElement()
- Specified by:
isEndElementin interfaceXMLEvent- See Also:
XMLEvent.isEndElement()
-
isEntityReference
public final boolean isEntityReference()
- Specified by:
isEntityReferencein interfaceXMLEvent- See Also:
XMLEvent.isEntityReference()
-
isProcessingInstruction
public final boolean isProcessingInstruction()
- Specified by:
isProcessingInstructionin interfaceXMLEvent- See Also:
XMLEvent.isProcessingInstruction()
-
isCharacters
public final boolean isCharacters()
- Specified by:
isCharactersin interfaceXMLEvent- See Also:
XMLEvent.isCharacters()
-
isStartDocument
public final boolean isStartDocument()
- Specified by:
isStartDocumentin interfaceXMLEvent- See Also:
XMLEvent.isStartDocument()
-
isEndDocument
public final boolean isEndDocument()
- Specified by:
isEndDocumentin interfaceXMLEvent- See Also:
XMLEvent.isEndDocument()
-
asStartElement
public final StartElement asStartElement()
- Specified by:
asStartElementin interfaceXMLEvent- See Also:
XMLEvent.asStartElement()
-
asEndElement
public final EndElement asEndElement()
- Specified by:
asEndElementin interfaceXMLEvent- See Also:
XMLEvent.asEndElement()
-
asCharacters
public final Characters asCharacters()
- Specified by:
asCharactersin interfaceXMLEvent- See Also:
XMLEvent.asCharacters()
-
getSchemaType
public final QName getSchemaType()
- Specified by:
getSchemaTypein interfaceXMLEvent- See Also:
XMLEvent.getSchemaType()
-
-