org.apache.xerces.stax.events
Class StartElementImpl
java.lang.Object
org.apache.xerces.stax.events.XMLEventImpl
org.apache.xerces.stax.events.ElementImpl
org.apache.xerces.stax.events.StartElementImpl
- All Implemented Interfaces:
- StartElement, XMLEvent, XMLStreamConstants
public final class StartElementImpl
- extends ElementImpl
- implements StartElement
- Version:
- $Id: StartElementImpl.java 730796 2009-01-02 17:36:23Z 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 |
StartElementImpl
public StartElementImpl(QName name,
Iterator attributes,
Iterator namespaces,
NamespaceContext namespaceContext,
Location location)
- Parameters:
location
- schemaType
-
getAttributes
public Iterator getAttributes()
- Specified by:
getAttributes
in interface StartElement
- See Also:
StartElement.getAttributes()
getAttributeByName
public Attribute getAttributeByName(QName name)
- Specified by:
getAttributeByName
in interface StartElement
- See Also:
StartElement.getAttributeByName(javax.xml.namespace.QName)
getNamespaceContext
public NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContext
in interface StartElement
- See Also:
StartElement.getNamespaceContext()
getNamespaceURI
public String getNamespaceURI(String prefix)
- Specified by:
getNamespaceURI
in interface StartElement
- See Also:
StartElement.getNamespaceURI(java.lang.String)
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer)
throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interface XMLEvent
- Throws:
XMLStreamException
Copyright © 2011. All Rights Reserved.