Class XMLSecCharactersImpl
java.lang.Object
org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
org.apache.xml.security.stax.impl.stax.XMLSecCharactersImpl
- All Implemented Interfaces:
Characters
,XMLEvent
,XMLStreamConstants
,XMLSecCharacters
,XMLSecEvent
-
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
ConstructorsConstructorDescriptionXMLSecCharactersImpl
(char[] text, boolean isCData, boolean isIgnorableWhiteSpace, boolean isWhiteSpace, XMLSecStartElement parentXmlSecStartElement) XMLSecCharactersImpl
(String data, boolean isCData, boolean isIgnorableWhiteSpace, boolean isWhiteSpace, XMLSecStartElement parentXmlSecStartElement) -
Method Summary
Modifier and TypeMethodDescriptiongetData()
int
char[]
getText()
boolean
isCData()
boolean
boolean
boolean
void
writeAsEncodedUnicode
(Writer writer) Methods inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getEmptyIterator, getLocation, getParentXMLSecStartElement, getSchemaType, getStartElementAtLevel, isAttribute, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, 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, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
Methods inherited from interface org.apache.xml.security.stax.ext.stax.XMLSecEvent
asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getParentXMLSecStartElement, getStartElementAtLevel, setParentXMLSecStartElement
-
Constructor Details
-
XMLSecCharactersImpl
public XMLSecCharactersImpl(String data, boolean isCData, boolean isIgnorableWhiteSpace, boolean isWhiteSpace, XMLSecStartElement parentXmlSecStartElement) -
XMLSecCharactersImpl
public XMLSecCharactersImpl(char[] text, boolean isCData, boolean isIgnorableWhiteSpace, boolean isWhiteSpace, XMLSecStartElement parentXmlSecStartElement)
-
-
Method Details
-
getData
- Specified by:
getData
in interfaceCharacters
-
getText
public char[] getText()- Specified by:
getText
in interfaceXMLSecCharacters
-
isWhiteSpace
public boolean isWhiteSpace()- Specified by:
isWhiteSpace
in interfaceCharacters
-
isCData
public boolean isCData()- Specified by:
isCData
in interfaceCharacters
-
isIgnorableWhiteSpace
public boolean isIgnorableWhiteSpace()- Specified by:
isIgnorableWhiteSpace
in interfaceCharacters
-
getEventType
public int getEventType()- Specified by:
getEventType
in interfaceXMLEvent
-
isCharacters
public boolean isCharacters()- Specified by:
isCharacters
in interfaceXMLEvent
- Overrides:
isCharacters
in classXMLSecEventBaseImpl
-
asCharacters
- Specified by:
asCharacters
in interfaceXMLEvent
- Specified by:
asCharacters
in interfaceXMLSecCharacters
- Specified by:
asCharacters
in interfaceXMLSecEvent
- Overrides:
asCharacters
in classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicode
in interfaceXMLEvent
- Overrides:
writeAsEncodedUnicode
in classXMLSecEventBaseImpl
- Throws:
XMLStreamException
-