public final class StartElementImpl extends Object 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(QName name,
Iterator attributes,
Iterator namespaces,
NamespaceContext namespaceContext,
Location location) |
| Modifier and Type | Method and Description |
|---|---|
Characters |
asCharacters() |
EndElement |
asEndElement() |
StartElement |
asStartElement() |
Attribute |
getAttributeByName(QName name) |
Iterator |
getAttributes() |
int |
getEventType() |
Location |
getLocation() |
QName |
getName() |
NamespaceContext |
getNamespaceContext() |
Iterator |
getNamespaces() |
String |
getNamespaceURI(String prefix) |
QName |
getSchemaType() |
boolean |
isAttribute() |
boolean |
isCharacters() |
boolean |
isEndDocument() |
boolean |
isEndElement() |
boolean |
isEntityReference() |
boolean |
isNamespace() |
boolean |
isProcessingInstruction() |
boolean |
isStartDocument() |
boolean |
isStartElement() |
String |
toString() |
void |
writeAsEncodedUnicode(Writer writer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getNamespacesasCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElementpublic StartElementImpl(QName name, Iterator attributes, Iterator namespaces, NamespaceContext namespaceContext, Location location)
location - schemaType - public Iterator getAttributes()
getAttributes in interface StartElementStartElement.getAttributes()public Attribute getAttributeByName(QName name)
getAttributeByName in interface StartElementStartElement.getAttributeByName(javax.xml.namespace.QName)public NamespaceContext getNamespaceContext()
getNamespaceContext in interface StartElementStartElement.getNamespaceContext()public String getNamespaceURI(String prefix)
getNamespaceURI in interface StartElementStartElement.getNamespaceURI(java.lang.String)public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
writeAsEncodedUnicode in interface XMLEventXMLStreamExceptionpublic final QName getName()
StartElement.getName(),
EndElement.getName()public final Iterator getNamespaces()
public final int getEventType()
getEventType in interface XMLEventXMLEvent.getEventType()public final Location getLocation()
getLocation in interface XMLEventXMLEvent.getLocation()public final boolean isStartElement()
isStartElement in interface XMLEventXMLEvent.isStartElement()public final boolean isAttribute()
isAttribute in interface XMLEventXMLEvent.isAttribute()public final boolean isNamespace()
isNamespace in interface XMLEventXMLEvent.isNamespace()public final boolean isEndElement()
isEndElement in interface XMLEventXMLEvent.isEndElement()public final boolean isEntityReference()
isEntityReference in interface XMLEventXMLEvent.isEntityReference()public final boolean isProcessingInstruction()
isProcessingInstruction in interface XMLEventXMLEvent.isProcessingInstruction()public final boolean isCharacters()
isCharacters in interface XMLEventXMLEvent.isCharacters()public final boolean isStartDocument()
isStartDocument in interface XMLEventXMLEvent.isStartDocument()public final boolean isEndDocument()
isEndDocument in interface XMLEventXMLEvent.isEndDocument()public final StartElement asStartElement()
asStartElement in interface XMLEventXMLEvent.asStartElement()public final EndElement asEndElement()
asEndElement in interface XMLEventXMLEvent.asEndElement()public final Characters asCharacters()
asCharacters in interface XMLEventXMLEvent.asCharacters()public final QName getSchemaType()
getSchemaType in interface XMLEventXMLEvent.getSchemaType()Copyright © 2017 JBoss by Red Hat. All rights reserved.