Class StartDocumentImpl
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.stax.events.StartDocumentImpl
-
- All Implemented Interfaces:
StartDocument,XMLEvent,XMLStreamConstants
public final class StartDocumentImpl extends Object implements StartDocument
- Version:
- $Id$
- 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
Constructors Constructor Description StartDocumentImpl(String charEncoding, boolean encodingSet, boolean isStandalone, boolean standaloneSet, String version, Location location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharactersasCharacters()EndElementasEndElement()StartElementasStartElement()booleanencodingSet()StringgetCharacterEncodingScheme()intgetEventType()LocationgetLocation()QNamegetSchemaType()StringgetSystemId()StringgetVersion()booleanisAttribute()booleanisCharacters()booleanisEndDocument()booleanisEndElement()booleanisEntityReference()booleanisNamespace()booleanisProcessingInstruction()booleanisStandalone()booleanisStartDocument()booleanisStartElement()booleanstandaloneSet()StringtoString()voidwriteAsEncodedUnicode(Writer writer)-
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
-
-
-
-
Method Detail
-
getSystemId
public String getSystemId()
- Specified by:
getSystemIdin interfaceStartDocument- See Also:
StartDocument.getSystemId()
-
getCharacterEncodingScheme
public String getCharacterEncodingScheme()
- Specified by:
getCharacterEncodingSchemein interfaceStartDocument- See Also:
StartDocument.getCharacterEncodingScheme()
-
encodingSet
public boolean encodingSet()
- Specified by:
encodingSetin interfaceStartDocument- See Also:
StartDocument.encodingSet()
-
isStandalone
public boolean isStandalone()
- Specified by:
isStandalonein interfaceStartDocument- See Also:
StartDocument.isStandalone()
-
standaloneSet
public boolean standaloneSet()
- Specified by:
standaloneSetin interfaceStartDocument- See Also:
StartDocument.standaloneSet()
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceStartDocument- See Also:
StartDocument.getVersion()
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Throws:
XMLStreamException
-
getEventType
public final int getEventType()
- Specified by:
getEventTypein interfaceXMLEvent- See Also:
XMLEvent.getEventType()
-
getLocation
public final Location getLocation()
- Specified by:
getLocationin interfaceXMLEvent- See Also:
XMLEvent.getLocation()
-
isStartElement
public final boolean isStartElement()
- Specified by:
isStartElementin interfaceXMLEvent- See Also:
XMLEvent.isStartElement()
-
isAttribute
public final boolean isAttribute()
- Specified by:
isAttributein interfaceXMLEvent- See Also:
XMLEvent.isAttribute()
-
isNamespace
public final boolean isNamespace()
- Specified by:
isNamespacein interfaceXMLEvent- See Also:
XMLEvent.isNamespace()
-
isEndElement
public final boolean isEndElement()
- Specified by:
isEndElementin interfaceXMLEvent- See Also:
XMLEvent.isEndElement()
-
isEntityReference
public final boolean isEntityReference()
- Specified by:
isEntityReferencein interfaceXMLEvent- See Also:
XMLEvent.isEntityReference()
-
isProcessingInstruction
public final boolean isProcessingInstruction()
- Specified by:
isProcessingInstructionin interfaceXMLEvent- See Also:
XMLEvent.isProcessingInstruction()
-
isCharacters
public final boolean isCharacters()
- Specified by:
isCharactersin interfaceXMLEvent- See Also:
XMLEvent.isCharacters()
-
isStartDocument
public final boolean isStartDocument()
- Specified by:
isStartDocumentin interfaceXMLEvent- See Also:
XMLEvent.isStartDocument()
-
isEndDocument
public final boolean isEndDocument()
- Specified by:
isEndDocumentin interfaceXMLEvent- See Also:
XMLEvent.isEndDocument()
-
asStartElement
public final StartElement asStartElement()
- Specified by:
asStartElementin interfaceXMLEvent- See Also:
XMLEvent.asStartElement()
-
asEndElement
public final EndElement asEndElement()
- Specified by:
asEndElementin interfaceXMLEvent- See Also:
XMLEvent.asEndElement()
-
asCharacters
public final Characters asCharacters()
- Specified by:
asCharactersin interfaceXMLEvent- See Also:
XMLEvent.asCharacters()
-
getSchemaType
public final QName getSchemaType()
- Specified by:
getSchemaTypein interfaceXMLEvent- See Also:
XMLEvent.getSchemaType()
-
-