Package org.codehaus.stax2.ri.evt
Class StartDocumentEventImpl
java.lang.Object
org.codehaus.stax2.ri.evt.BaseEventImpl
org.codehaus.stax2.ri.evt.StartDocumentEventImpl
- All Implemented Interfaces:
StartDocument,XMLEvent,XMLStreamConstants,XMLEvent2
-
Field Summary
Fields inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl
mLocationFields 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
ConstructorsConstructorDescriptionMethod called by event factory, when constructing start document event.StartDocumentEventImpl(Location loc, String encoding) StartDocumentEventImpl(Location loc, String encoding, String version) StartDocumentEventImpl(Location loc, String encoding, String version, boolean standaloneSet, boolean isStandalone) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanDeclared abstract to force redefinition by sub-classesintinthashCode()Declared abstract to force redefinition by sub-classesbooleanbooleanbooleanvoidvoidMethods inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartElement
-
Constructor Details
-
StartDocumentEventImpl
-
StartDocumentEventImpl
Method called by event factory, when constructing start document event. -
StartDocumentEventImpl
-
StartDocumentEventImpl
-
StartDocumentEventImpl
-
-
Method Details
-
encodingSet
public boolean encodingSet()- Specified by:
encodingSetin interfaceStartDocument
-
getCharacterEncodingScheme
- Specified by:
getCharacterEncodingSchemein interfaceStartDocument
-
getSystemId
- Specified by:
getSystemIdin interfaceStartDocument
-
getVersion
- Specified by:
getVersionin interfaceStartDocument
-
isStandalone
public boolean isStandalone()- Specified by:
isStandalonein interfaceStartDocument
-
standaloneSet
public boolean standaloneSet()- Specified by:
standaloneSetin interfaceStartDocument
-
getEventType
public int getEventType()- Specified by:
getEventTypein interfaceXMLEvent- Specified by:
getEventTypein classBaseEventImpl
-
isStartDocument
public boolean isStartDocument()- Specified by:
isStartDocumentin interfaceXMLEvent- Overrides:
isStartDocumentin classBaseEventImpl
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Specified by:
writeAsEncodedUnicodein classBaseEventImpl- Throws:
XMLStreamException
-
writeUsing
- Specified by:
writeUsingin interfaceXMLEvent2- Specified by:
writeUsingin classBaseEventImpl- Throws:
XMLStreamException
-
equals
Description copied from class:BaseEventImplDeclared abstract to force redefinition by sub-classes- Specified by:
equalsin classBaseEventImpl
-
hashCode
public int hashCode()Description copied from class:BaseEventImplDeclared abstract to force redefinition by sub-classes- Specified by:
hashCodein classBaseEventImpl
-