Class XMLSecStartDocumentImpl
- java.lang.Object
-
- org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
-
- org.apache.xml.security.stax.impl.stax.XMLSecStartDocumentImpl
-
- All Implemented Interfaces:
StartDocument
,XMLEvent
,XMLStreamConstants
,XMLSecEvent
,XMLSecStartDocument
public class XMLSecStartDocumentImpl extends XMLSecEventBaseImpl implements XMLSecStartDocument
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
parentXMLSecStartELement
-
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 XMLSecStartDocumentImpl(String systemId, String characterEncodingScheme, Boolean standAlone, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLSecStartDocument
asStartDocument()
boolean
encodingSet()
String
getCharacterEncodingScheme()
int
getEventType()
String
getSystemId()
String
getVersion()
boolean
isStandalone()
boolean
isStartDocument()
boolean
standaloneSet()
void
writeAsEncodedUnicode(Writer writer)
-
Methods inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getEmptyIterator, getLocation, getParentXMLSecStartElement, getSchemaType, getStartElementAtLevel, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartElement, setParentXMLSecStartElement
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.xml.stream.events.XMLEvent
getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartElement
-
Methods inherited from interface org.apache.xml.security.stax.ext.stax.XMLSecEvent
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getParentXMLSecStartElement, getStartElementAtLevel, setParentXMLSecStartElement
-
-
-
-
Method Detail
-
getEventType
public int getEventType()
- Specified by:
getEventType
in interfaceXMLEvent
-
getSystemId
public String getSystemId()
- Specified by:
getSystemId
in interfaceStartDocument
-
getCharacterEncodingScheme
public String getCharacterEncodingScheme()
- Specified by:
getCharacterEncodingScheme
in interfaceStartDocument
-
encodingSet
public boolean encodingSet()
- Specified by:
encodingSet
in interfaceStartDocument
-
isStandalone
public boolean isStandalone()
- Specified by:
isStandalone
in interfaceStartDocument
-
standaloneSet
public boolean standaloneSet()
- Specified by:
standaloneSet
in interfaceStartDocument
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfaceStartDocument
-
isStartDocument
public boolean isStartDocument()
- Specified by:
isStartDocument
in interfaceXMLEvent
- Overrides:
isStartDocument
in classXMLSecEventBaseImpl
-
asStartDocument
public XMLSecStartDocument asStartDocument()
- Specified by:
asStartDocument
in interfaceXMLSecStartDocument
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interfaceXMLEvent
- Overrides:
writeAsEncodedUnicode
in classXMLSecEventBaseImpl
- Throws:
XMLStreamException
-
-