org.apache.xerces.stax.events
Class StartDocumentImpl
java.lang.Object
|
+--org.apache.xerces.stax.events.XMLEventImpl
|
+--org.apache.xerces.stax.events.StartDocumentImpl
- All Implemented Interfaces:
- javax.xml.stream.events.StartDocument, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants
- public final class StartDocumentImpl
- extends XMLEventImpl
- implements javax.xml.stream.events.StartDocument
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
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 |
StartDocumentImpl(java.lang.String charEncoding,
boolean encodingSet,
boolean isStandalone,
boolean standaloneSet,
java.lang.String version,
javax.xml.stream.Location location)
|
Methods inherited from class org.apache.xerces.stax.events.XMLEventImpl |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.xml.stream.events.XMLEvent |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
StartDocumentImpl
public StartDocumentImpl(java.lang.String charEncoding,
boolean encodingSet,
boolean isStandalone,
boolean standaloneSet,
java.lang.String version,
javax.xml.stream.Location location)
- Parameters:
location
-
getSystemId
public java.lang.String getSystemId()
- Specified by:
getSystemId
in interface javax.xml.stream.events.StartDocument
- See Also:
StartDocument.getSystemId()
getCharacterEncodingScheme
public java.lang.String getCharacterEncodingScheme()
- Specified by:
getCharacterEncodingScheme
in interface javax.xml.stream.events.StartDocument
- See Also:
StartDocument.getCharacterEncodingScheme()
encodingSet
public boolean encodingSet()
- Specified by:
encodingSet
in interface javax.xml.stream.events.StartDocument
- See Also:
StartDocument.encodingSet()
isStandalone
public boolean isStandalone()
- Specified by:
isStandalone
in interface javax.xml.stream.events.StartDocument
- See Also:
StartDocument.isStandalone()
standaloneSet
public boolean standaloneSet()
- Specified by:
standaloneSet
in interface javax.xml.stream.events.StartDocument
- See Also:
StartDocument.standaloneSet()
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interface javax.xml.stream.events.StartDocument
- See Also:
StartDocument.getVersion()
writeAsEncodedUnicode
public void writeAsEncodedUnicode(java.io.Writer writer)
throws javax.xml.stream.XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interface javax.xml.stream.events.XMLEvent
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.