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
public class XMLSecCharactersImpl extends XMLSecEventBaseImpl implements XMLSecCharacters
- Version:
- $Revision: 1659901 $ $Date: 2015-02-15 10:11:24 +0100 (Sun, 15 Feb 2015) $
- Author:
- $Author: giger $
-
-
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 XMLSecCharactersImpl(char[] text, boolean isCData, boolean isIgnorableWhiteSpace, boolean isWhiteSpace, XMLSecStartElement parentXmlSecStartElement)
XMLSecCharactersImpl(String data, boolean isCData, boolean isIgnorableWhiteSpace, boolean isWhiteSpace, XMLSecStartElement parentXmlSecStartElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLSecCharacters
asCharacters()
String
getData()
int
getEventType()
char[]
getText()
boolean
isCData()
boolean
isCharacters()
boolean
isIgnorableWhiteSpace()
boolean
isWhiteSpace()
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 Detail
-
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 Detail
-
getData
public String 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
public XMLSecCharacters asCharacters()
- Specified by:
asCharacters
in interfaceXMLEvent
- Specified by:
asCharacters
in interfaceXMLSecCharacters
- Specified by:
asCharacters
in interfaceXMLSecEvent
- Overrides:
asCharacters
in classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interfaceXMLEvent
- Overrides:
writeAsEncodedUnicode
in classXMLSecEventBaseImpl
- Throws:
XMLStreamException
-
-