Package org.apache.xerces.stax.events
Class StartDocumentImpl
java.lang.Object
org.apache.xerces.stax.events.StartDocumentImpl
- All Implemented Interfaces:
StartDocument,XMLEvent,XMLStreamConstants
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Version:
- $Id: StartDocumentImpl.java 730471 2008-12-31 20:45:32Z mrglavas $
- Author:
- Lucian Holland
-
Field Summary
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 -
Constructor Summary
ConstructorsConstructorDescriptionStartDocumentImpl(String charEncoding, boolean encodingSet, boolean isStandalone, boolean standaloneSet, String version, Location location) -
Method Summary
Modifier and TypeMethodDescriptionfinal Charactersfinal EndElementfinal StartElementbooleanfinal intfinal Locationfinal QNamefinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanbooleanfinal booleanfinal booleanbooleanfinal StringtoString()voidwriteAsEncodedUnicode(Writer writer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
-
Constructor Details
-
Method Details
-
getSystemId
- Specified by:
getSystemIdin interfaceStartDocument- See Also:
-
getCharacterEncodingScheme
- Specified by:
getCharacterEncodingSchemein interfaceStartDocument- See Also:
-
encodingSet
public boolean encodingSet()- Specified by:
encodingSetin interfaceStartDocument- See Also:
-
isStandalone
public boolean isStandalone()- Specified by:
isStandalonein interfaceStartDocument- See Also:
-
standaloneSet
public boolean standaloneSet()- Specified by:
standaloneSetin interfaceStartDocument- See Also:
-
getVersion
- Specified by:
getVersionin interfaceStartDocument- See Also:
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Throws:
XMLStreamException
-
getEventType
public final int getEventType()- Specified by:
getEventTypein interfaceXMLEvent- See Also:
-
getLocation
- Specified by:
getLocationin interfaceXMLEvent- See Also:
-
isStartElement
public final boolean isStartElement()- Specified by:
isStartElementin interfaceXMLEvent- See Also:
-
isAttribute
public final boolean isAttribute()- Specified by:
isAttributein interfaceXMLEvent- See Also:
-
isNamespace
public final boolean isNamespace()- Specified by:
isNamespacein interfaceXMLEvent- See Also:
-
isEndElement
public final boolean isEndElement()- Specified by:
isEndElementin interfaceXMLEvent- See Also:
-
isEntityReference
public final boolean isEntityReference()- Specified by:
isEntityReferencein interfaceXMLEvent- See Also:
-
isProcessingInstruction
public final boolean isProcessingInstruction()- Specified by:
isProcessingInstructionin interfaceXMLEvent- See Also:
-
isCharacters
public final boolean isCharacters()- Specified by:
isCharactersin interfaceXMLEvent- See Also:
-
isStartDocument
public final boolean isStartDocument()- Specified by:
isStartDocumentin interfaceXMLEvent- See Also:
-
isEndDocument
public final boolean isEndDocument()- Specified by:
isEndDocumentin interfaceXMLEvent- See Also:
-
asStartElement
- Specified by:
asStartElementin interfaceXMLEvent- See Also:
-
asEndElement
- Specified by:
asEndElementin interfaceXMLEvent- See Also:
-
asCharacters
- Specified by:
asCharactersin interfaceXMLEvent- See Also:
-
getSchemaType
- Specified by:
getSchemaTypein interfaceXMLEvent- See Also:
-
toString
-