public final class StartElementImpl
extends java.lang.Object
implements javax.xml.stream.events.StartElement
Constructor and Description |
---|
StartElementImpl(javax.xml.namespace.QName name,
java.util.Iterator attributes,
java.util.Iterator namespaces,
javax.xml.namespace.NamespaceContext namespaceContext,
javax.xml.stream.Location location) |
Modifier and Type | Method and Description |
---|---|
javax.xml.stream.events.Characters |
asCharacters() |
javax.xml.stream.events.EndElement |
asEndElement() |
javax.xml.stream.events.StartElement |
asStartElement() |
javax.xml.stream.events.Attribute |
getAttributeByName(javax.xml.namespace.QName name) |
java.util.Iterator |
getAttributes() |
int |
getEventType() |
javax.xml.stream.Location |
getLocation() |
javax.xml.namespace.QName |
getName() |
javax.xml.namespace.NamespaceContext |
getNamespaceContext() |
java.util.Iterator |
getNamespaces() |
java.lang.String |
getNamespaceURI(java.lang.String prefix) |
javax.xml.namespace.QName |
getSchemaType() |
boolean |
isAttribute() |
boolean |
isCharacters() |
boolean |
isEndDocument() |
boolean |
isEndElement() |
boolean |
isEntityReference() |
boolean |
isNamespace() |
boolean |
isProcessingInstruction() |
boolean |
isStartDocument() |
boolean |
isStartElement() |
java.lang.String |
toString() |
void |
writeAsEncodedUnicode(java.io.Writer writer) |
public StartElementImpl(javax.xml.namespace.QName name, java.util.Iterator attributes, java.util.Iterator namespaces, javax.xml.namespace.NamespaceContext namespaceContext, javax.xml.stream.Location location)
location
- schemaType
- public java.util.Iterator getAttributes()
getAttributes
in interface javax.xml.stream.events.StartElement
StartElement.getAttributes()
public javax.xml.stream.events.Attribute getAttributeByName(javax.xml.namespace.QName name)
getAttributeByName
in interface javax.xml.stream.events.StartElement
StartElement.getAttributeByName(javax.xml.namespace.QName)
public javax.xml.namespace.NamespaceContext getNamespaceContext()
getNamespaceContext
in interface javax.xml.stream.events.StartElement
StartElement.getNamespaceContext()
public java.lang.String getNamespaceURI(java.lang.String prefix)
getNamespaceURI
in interface javax.xml.stream.events.StartElement
StartElement.getNamespaceURI(java.lang.String)
public void writeAsEncodedUnicode(java.io.Writer writer) throws javax.xml.stream.XMLStreamException
writeAsEncodedUnicode
in interface javax.xml.stream.events.XMLEvent
javax.xml.stream.XMLStreamException
public final javax.xml.namespace.QName getName()
StartElement.getName()
,
EndElement.getName()
public final java.util.Iterator getNamespaces()
StartElement.getNamespaces()
,
EndElement.getNamespaces()
public final int getEventType()
getEventType
in interface javax.xml.stream.events.XMLEvent
XMLEvent.getEventType()
public final javax.xml.stream.Location getLocation()
getLocation
in interface javax.xml.stream.events.XMLEvent
XMLEvent.getLocation()
public final boolean isStartElement()
isStartElement
in interface javax.xml.stream.events.XMLEvent
XMLEvent.isStartElement()
public final boolean isAttribute()
isAttribute
in interface javax.xml.stream.events.XMLEvent
XMLEvent.isAttribute()
public final boolean isNamespace()
isNamespace
in interface javax.xml.stream.events.XMLEvent
XMLEvent.isNamespace()
public final boolean isEndElement()
isEndElement
in interface javax.xml.stream.events.XMLEvent
XMLEvent.isEndElement()
public final boolean isEntityReference()
isEntityReference
in interface javax.xml.stream.events.XMLEvent
XMLEvent.isEntityReference()
public final boolean isProcessingInstruction()
isProcessingInstruction
in interface javax.xml.stream.events.XMLEvent
XMLEvent.isProcessingInstruction()
public final boolean isCharacters()
isCharacters
in interface javax.xml.stream.events.XMLEvent
XMLEvent.isCharacters()
public final boolean isStartDocument()
isStartDocument
in interface javax.xml.stream.events.XMLEvent
XMLEvent.isStartDocument()
public final boolean isEndDocument()
isEndDocument
in interface javax.xml.stream.events.XMLEvent
XMLEvent.isEndDocument()
public final javax.xml.stream.events.StartElement asStartElement()
asStartElement
in interface javax.xml.stream.events.XMLEvent
XMLEvent.asStartElement()
public final javax.xml.stream.events.EndElement asEndElement()
asEndElement
in interface javax.xml.stream.events.XMLEvent
XMLEvent.asEndElement()
public final javax.xml.stream.events.Characters asCharacters()
asCharacters
in interface javax.xml.stream.events.XMLEvent
XMLEvent.asCharacters()
public final javax.xml.namespace.QName getSchemaType()
getSchemaType
in interface javax.xml.stream.events.XMLEvent
XMLEvent.getSchemaType()
public final java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.