Class XMLSecCharactersImpl
- java.lang.Object
-
- org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
-
- org.apache.xml.security.stax.impl.stax.XMLSecCharactersImpl
-
- All Implemented Interfaces:
javax.xml.stream.events.Characters
,javax.xml.stream.events.XMLEvent
,javax.xml.stream.XMLStreamConstants
,XMLSecCharacters
,XMLSecEvent
public class XMLSecCharactersImpl extends XMLSecEventBaseImpl implements XMLSecCharacters
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
XMLSecEventBaseImpl.LocationImpl
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
data
private boolean
isCData
private boolean
isIgnorableWhiteSpace
private boolean
isWhiteSpace
private char[]
text
-
Fields inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
parentXMLSecStartELement
-
-
Constructor Summary
Constructors Constructor Description XMLSecCharactersImpl(char[] text, boolean isCData, boolean isIgnorableWhiteSpace, boolean isWhiteSpace, XMLSecStartElement parentXmlSecStartElement)
XMLSecCharactersImpl(java.lang.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()
java.lang.String
getData()
int
getEventType()
char[]
getText()
boolean
isCData()
boolean
isCharacters()
boolean
isIgnorableWhiteSpace()
boolean
isWhiteSpace()
void
writeAsEncodedUnicode(java.io.Writer writer)
private void
writeEncoded(java.io.Writer writer, char[] text)
-
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(java.lang.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 java.lang.String getData()
- Specified by:
getData
in interfacejavax.xml.stream.events.Characters
-
getText
public char[] getText()
- Specified by:
getText
in interfaceXMLSecCharacters
-
isWhiteSpace
public boolean isWhiteSpace()
- Specified by:
isWhiteSpace
in interfacejavax.xml.stream.events.Characters
-
isCData
public boolean isCData()
- Specified by:
isCData
in interfacejavax.xml.stream.events.Characters
-
isIgnorableWhiteSpace
public boolean isIgnorableWhiteSpace()
- Specified by:
isIgnorableWhiteSpace
in interfacejavax.xml.stream.events.Characters
-
getEventType
public int getEventType()
- Specified by:
getEventType
in interfacejavax.xml.stream.events.XMLEvent
-
isCharacters
public boolean isCharacters()
- Specified by:
isCharacters
in interfacejavax.xml.stream.events.XMLEvent
- Overrides:
isCharacters
in classXMLSecEventBaseImpl
-
asCharacters
public XMLSecCharacters asCharacters()
- Specified by:
asCharacters
in interfacejavax.xml.stream.events.XMLEvent
- Specified by:
asCharacters
in interfaceXMLSecCharacters
- Specified by:
asCharacters
in interfaceXMLSecEvent
- Overrides:
asCharacters
in classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(java.io.Writer writer) throws javax.xml.stream.XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interfacejavax.xml.stream.events.XMLEvent
- Overrides:
writeAsEncodedUnicode
in classXMLSecEventBaseImpl
- Throws:
javax.xml.stream.XMLStreamException
-
writeEncoded
private void writeEncoded(java.io.Writer writer, char[] text) throws java.io.IOException
- Throws:
java.io.IOException
-
-