Package org.apache.xerces.stax.events
Class StartElementImpl
java.lang.Object
org.apache.xerces.stax.events.StartElementImpl
- All Implemented Interfaces:
StartElement
,XMLEvent
,XMLStreamConstants
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Version:
- $Id: StartElementImpl.java 730796 2009-01-02 17:36:23Z mrglavas $
- 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
ConstructorsConstructorDescriptionStartElementImpl
(QName name, Iterator attributes, Iterator namespaces, NamespaceContext namespaceContext, Location location) -
Method Summary
Modifier and TypeMethodDescriptionfinal Characters
final EndElement
final StartElement
getAttributeByName
(QName name) final int
final Location
final QName
getName()
final Iterator
getNamespaceURI
(String prefix) final QName
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final String
toString()
void
writeAsEncodedUnicode
(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 Details
-
StartElementImpl
public StartElementImpl(QName name, Iterator attributes, Iterator namespaces, NamespaceContext namespaceContext, Location location) - Parameters:
location
-schemaType
-
-
-
Method Details
-
getAttributes
- Specified by:
getAttributes
in interfaceStartElement
- See Also:
-
getAttributeByName
- Specified by:
getAttributeByName
in interfaceStartElement
- See Also:
-
getNamespaceContext
- Specified by:
getNamespaceContext
in interfaceStartElement
- See Also:
-
getNamespaceURI
- Specified by:
getNamespaceURI
in interfaceStartElement
- See Also:
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicode
in interfaceXMLEvent
- Throws:
XMLStreamException
-
getName
- See Also:
-
getNamespaces
- See Also:
-
getEventType
public final int getEventType()- Specified by:
getEventType
in interfaceXMLEvent
- See Also:
-
getLocation
- Specified by:
getLocation
in interfaceXMLEvent
- See Also:
-
isStartElement
public final boolean isStartElement()- Specified by:
isStartElement
in interfaceXMLEvent
- See Also:
-
isAttribute
public final boolean isAttribute()- Specified by:
isAttribute
in interfaceXMLEvent
- See Also:
-
isNamespace
public final boolean isNamespace()- Specified by:
isNamespace
in interfaceXMLEvent
- See Also:
-
isEndElement
public final boolean isEndElement()- Specified by:
isEndElement
in interfaceXMLEvent
- See Also:
-
isEntityReference
public final boolean isEntityReference()- Specified by:
isEntityReference
in interfaceXMLEvent
- See Also:
-
isProcessingInstruction
public final boolean isProcessingInstruction()- Specified by:
isProcessingInstruction
in interfaceXMLEvent
- See Also:
-
isCharacters
public final boolean isCharacters()- Specified by:
isCharacters
in interfaceXMLEvent
- See Also:
-
isStartDocument
public final boolean isStartDocument()- Specified by:
isStartDocument
in interfaceXMLEvent
- See Also:
-
isEndDocument
public final boolean isEndDocument()- Specified by:
isEndDocument
in interfaceXMLEvent
- See Also:
-
asStartElement
- Specified by:
asStartElement
in interfaceXMLEvent
- See Also:
-
asEndElement
- Specified by:
asEndElement
in interfaceXMLEvent
- See Also:
-
asCharacters
- Specified by:
asCharacters
in interfaceXMLEvent
- See Also:
-
getSchemaType
- Specified by:
getSchemaType
in interfaceXMLEvent
- See Also:
-
toString
-