Class StartElementImpl
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.stax.events.StartElementImpl
-
- All Implemented Interfaces:
StartElement,XMLEvent,XMLStreamConstants
public final class StartElementImpl extends Object implements StartElement
- 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 StartElementImpl(QName name, Iterator attributes, Iterator namespaces, NamespaceContext namespaceContext, Location location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharactersasCharacters()EndElementasEndElement()StartElementasStartElement()AttributegetAttributeByName(QName name)IteratorgetAttributes()intgetEventType()LocationgetLocation()QNamegetName()NamespaceContextgetNamespaceContext()IteratorgetNamespaces()StringgetNamespaceURI(String prefix)QNamegetSchemaType()booleanisAttribute()booleanisCharacters()booleanisEndDocument()booleanisEndElement()booleanisEntityReference()booleanisNamespace()booleanisProcessingInstruction()booleanisStartDocument()booleanisStartElement()StringtoString()voidwriteAsEncodedUnicode(Writer writer)-
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.StartElement
getName, getNamespaces
-
Methods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
-
-
-
-
Constructor Detail
-
StartElementImpl
public StartElementImpl(QName name, Iterator attributes, Iterator namespaces, NamespaceContext namespaceContext, Location location)
- Parameters:
location-schemaType-
-
-
Method Detail
-
getAttributes
public Iterator getAttributes()
- Specified by:
getAttributesin interfaceStartElement- See Also:
StartElement.getAttributes()
-
getAttributeByName
public Attribute getAttributeByName(QName name)
- Specified by:
getAttributeByNamein interfaceStartElement- See Also:
StartElement.getAttributeByName(QName)
-
getNamespaceContext
public NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContextin interfaceStartElement- See Also:
StartElement.getNamespaceContext()
-
getNamespaceURI
public String getNamespaceURI(String prefix)
- Specified by:
getNamespaceURIin interfaceStartElement- See Also:
StartElement.getNamespaceURI(String)
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Throws:
XMLStreamException
-
getName
public final QName getName()
- See Also:
StartElement.getName(),EndElement.getName()
-
getNamespaces
public final Iterator getNamespaces()
-
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()
-
-