|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavanet.staxutils.events.AbstractXMLEvent
javanet.staxutils.events.StartDocumentEvent
public class StartDocumentEvent
StartDocument
implementation.
Field Summary | |
---|---|
static String |
DEFAULT_ENCODING
Default encoding returned by getCharacterEncodingScheme() . |
static String |
DEFAULT_SYSTEM_ID
Default system id returned by getSystemId() . |
static String |
DEFAULT_VERSION
Default XML version returned by getVersion() . |
protected String |
encoding
The document encoding, or null if none was specified. |
protected Boolean |
standalone
The document standalone value, or null if none was specified. |
protected String |
version
The XML version, or null if none was specified. |
Fields inherited from class javanet.staxutils.events.AbstractXMLEvent |
---|
location, schemaType |
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 | |
---|---|
StartDocumentEvent()
|
|
StartDocumentEvent(Location location)
|
|
StartDocumentEvent(StartDocument that)
Copy constructor. |
|
StartDocumentEvent(String encoding,
Boolean standalone,
String version,
Location location)
|
|
StartDocumentEvent(String encoding,
Boolean standalone,
String version,
Location location,
QName schemaType)
|
|
StartDocumentEvent(String encoding,
Location location)
|
Method Summary | |
---|---|
boolean |
encodingSet()
|
String |
getCharacterEncodingScheme()
|
int |
getEventType()
Returns XMLStreamConstants.START_DOCUMENT . |
String |
getSystemId()
|
String |
getVersion()
|
boolean |
isStandalone()
|
boolean |
standaloneSet()
|
Methods inherited from class javanet.staxutils.events.AbstractXMLEvent |
---|
asCharacters, asEndElement, asStartElement, clone, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, matches, toString, writeAsEncodedUnicode, writeEvent |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.xml.stream.events.XMLEvent |
---|
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
Field Detail |
---|
public static final String DEFAULT_VERSION
getVersion()
.
public static final String DEFAULT_SYSTEM_ID
getSystemId()
.
public static final String DEFAULT_ENCODING
getCharacterEncodingScheme()
.
protected String encoding
null
if none was specified.
protected Boolean standalone
null
if none was specified.
protected String version
null
if none was specified.
Constructor Detail |
---|
public StartDocumentEvent()
public StartDocumentEvent(Location location)
public StartDocumentEvent(String encoding, Location location)
public StartDocumentEvent(String encoding, Boolean standalone, String version, Location location)
public StartDocumentEvent(String encoding, Boolean standalone, String version, Location location, QName schemaType)
public StartDocumentEvent(StartDocument that)
that
- The StartDocument
event to copy.Method Detail |
---|
public int getEventType()
XMLStreamConstants.START_DOCUMENT
.
getEventType
in interface XMLEvent
public boolean encodingSet()
encodingSet
in interface StartDocument
public String getCharacterEncodingScheme()
getCharacterEncodingScheme
in interface StartDocument
public String getSystemId()
getSystemId
in interface StartDocument
public String getVersion()
getVersion
in interface StartDocument
public boolean isStandalone()
isStandalone
in interface StartDocument
public boolean standaloneSet()
standaloneSet
in interface StartDocument
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |