public class StartElementImpl extends XMLEventImpl implements StartElement
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
StartElementImpl(javax.xml.namespace.QName name,
java.util.HashMap<javax.xml.namespace.QName,Attribute> attributes,
java.util.HashMap<java.lang.String,Namespace> namespaces,
javax.xml.namespace.NamespaceContext namespaceContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Attribute |
getAttributeByName(javax.xml.namespace.QName name) |
java.util.Iterator |
getAttributes() |
int |
getEventType() |
javax.xml.namespace.QName |
getName() |
javax.xml.namespace.NamespaceContext |
getNamespaceContext() |
java.util.Iterator |
getNamespaces() |
java.lang.String |
getNamespaceURI(java.lang.String prefix) |
java.lang.String |
toString() |
void |
writeAsEncodedUnicode(java.io.Writer writer) |
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
public Attribute getAttributeByName(javax.xml.namespace.QName name)
getAttributeByName
in interface StartElement
public java.util.Iterator getAttributes()
getAttributes
in interface StartElement
public javax.xml.namespace.QName getName()
getName
in interface StartElement
public javax.xml.namespace.NamespaceContext getNamespaceContext()
getNamespaceContext
in interface StartElement
public java.util.Iterator getNamespaces()
getNamespaces
in interface StartElement
public java.lang.String getNamespaceURI(java.lang.String prefix)
getNamespaceURI
in interface StartElement
public int getEventType()
getEventType
in interface XMLEvent
getEventType
in class XMLEventImpl
public void writeAsEncodedUnicode(java.io.Writer writer) throws XMLStreamException
writeAsEncodedUnicode
in interface XMLEvent
writeAsEncodedUnicode
in class XMLEventImpl
XMLStreamException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object