Class XMLSecProcessingInstructionImpl
- java.lang.Object
-
- org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
-
- org.apache.xml.security.stax.impl.stax.XMLSecProcessingInstructionImpl
-
- All Implemented Interfaces:
javax.xml.stream.events.ProcessingInstruction,javax.xml.stream.events.XMLEvent,javax.xml.stream.XMLStreamConstants,XMLSecEvent,XMLSecProcessingInstruction
public class XMLSecProcessingInstructionImpl extends XMLSecEventBaseImpl implements XMLSecProcessingInstruction
-
-
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.Stringdataprivate java.lang.Stringtarget-
Fields inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
parentXMLSecStartELement
-
-
Constructor Summary
Constructors Constructor Description XMLSecProcessingInstructionImpl(java.lang.String target, java.lang.String data, XMLSecStartElement parentXmlSecStartElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetData()intgetEventType()java.lang.StringgetTarget()booleanisProcessingInstruction()voidwriteAsEncodedUnicode(java.io.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, 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, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isStartDocument, isStartElement
-
Methods inherited from interface org.apache.xml.security.stax.ext.stax.XMLSecEvent
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getParentXMLSecStartElement, getStartElementAtLevel, setParentXMLSecStartElement
-
-
-
-
Constructor Detail
-
XMLSecProcessingInstructionImpl
public XMLSecProcessingInstructionImpl(java.lang.String target, java.lang.String data, XMLSecStartElement parentXmlSecStartElement)
-
-
Method Detail
-
getTarget
public java.lang.String getTarget()
- Specified by:
getTargetin interfacejavax.xml.stream.events.ProcessingInstruction
-
getData
public java.lang.String getData()
- Specified by:
getDatain interfacejavax.xml.stream.events.ProcessingInstruction
-
getEventType
public int getEventType()
- Specified by:
getEventTypein interfacejavax.xml.stream.events.XMLEvent
-
isProcessingInstruction
public boolean isProcessingInstruction()
- Specified by:
isProcessingInstructionin interfacejavax.xml.stream.events.XMLEvent- Overrides:
isProcessingInstructionin classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(java.io.Writer writer) throws javax.xml.stream.XMLStreamException- Specified by:
writeAsEncodedUnicodein interfacejavax.xml.stream.events.XMLEvent- Overrides:
writeAsEncodedUnicodein classXMLSecEventBaseImpl- Throws:
javax.xml.stream.XMLStreamException
-
-