public final class StartDocumentImpl extends Object implements StartDocument
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 |
---|
StartDocumentImpl(String charEncoding,
boolean encodingSet,
boolean isStandalone,
boolean standaloneSet,
String version,
Location location) |
Modifier and Type | Method and Description |
---|---|
Characters |
asCharacters() |
EndElement |
asEndElement() |
StartElement |
asStartElement() |
boolean |
encodingSet() |
String |
getCharacterEncodingScheme() |
int |
getEventType() |
Location |
getLocation() |
QName |
getSchemaType() |
String |
getSystemId() |
String |
getVersion() |
boolean |
isAttribute() |
boolean |
isCharacters() |
boolean |
isEndDocument() |
boolean |
isEndElement() |
boolean |
isEntityReference() |
boolean |
isNamespace() |
boolean |
isProcessingInstruction() |
boolean |
isStandalone() |
boolean |
isStartDocument() |
boolean |
isStartElement() |
boolean |
standaloneSet() |
String |
toString() |
void |
writeAsEncodedUnicode(Writer writer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
public String getSystemId()
getSystemId
in interface StartDocument
StartDocument.getSystemId()
public String getCharacterEncodingScheme()
getCharacterEncodingScheme
in interface StartDocument
StartDocument.getCharacterEncodingScheme()
public boolean encodingSet()
encodingSet
in interface StartDocument
StartDocument.encodingSet()
public boolean isStandalone()
isStandalone
in interface StartDocument
StartDocument.isStandalone()
public boolean standaloneSet()
standaloneSet
in interface StartDocument
StartDocument.standaloneSet()
public String getVersion()
getVersion
in interface StartDocument
StartDocument.getVersion()
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
writeAsEncodedUnicode
in interface XMLEvent
XMLStreamException
public final int getEventType()
getEventType
in interface XMLEvent
XMLEvent.getEventType()
public final Location getLocation()
getLocation
in interface XMLEvent
XMLEvent.getLocation()
public final boolean isStartElement()
isStartElement
in interface XMLEvent
XMLEvent.isStartElement()
public final boolean isAttribute()
isAttribute
in interface XMLEvent
XMLEvent.isAttribute()
public final boolean isNamespace()
isNamespace
in interface XMLEvent
XMLEvent.isNamespace()
public final boolean isEndElement()
isEndElement
in interface XMLEvent
XMLEvent.isEndElement()
public final boolean isEntityReference()
isEntityReference
in interface XMLEvent
XMLEvent.isEntityReference()
public final boolean isProcessingInstruction()
isProcessingInstruction
in interface XMLEvent
XMLEvent.isProcessingInstruction()
public final boolean isCharacters()
isCharacters
in interface XMLEvent
XMLEvent.isCharacters()
public final boolean isStartDocument()
isStartDocument
in interface XMLEvent
XMLEvent.isStartDocument()
public final boolean isEndDocument()
isEndDocument
in interface XMLEvent
XMLEvent.isEndDocument()
public final StartElement asStartElement()
asStartElement
in interface XMLEvent
XMLEvent.asStartElement()
public final EndElement asEndElement()
asEndElement
in interface XMLEvent
XMLEvent.asEndElement()
public final Characters asCharacters()
asCharacters
in interface XMLEvent
XMLEvent.asCharacters()
public final QName getSchemaType()
getSchemaType
in interface XMLEvent
XMLEvent.getSchemaType()
Copyright © 2017 JBoss by Red Hat. All rights reserved.