Class XMLSecProcessingInstructionImpl
java.lang.Object
org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
org.apache.xml.security.stax.impl.stax.XMLSecProcessingInstructionImpl
- All Implemented Interfaces:
ProcessingInstruction, XMLEvent, XMLStreamConstants, XMLSecEvent, XMLSecProcessingInstruction
public class XMLSecProcessingInstructionImpl
extends XMLSecEventBaseImpl
implements XMLSecProcessingInstruction
-
Nested Class Summary
Nested classes/interfaces inherited from class XMLSecEventBaseImpl
XMLSecEventBaseImpl.LocationImpl -
Field Summary
FieldsFields inherited from class XMLSecEventBaseImpl
parentXMLSecStartELementFields inherited from interface 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
ConstructorsConstructorDescriptionXMLSecProcessingInstructionImpl(String target, String data, XMLSecStartElement parentXmlSecStartElement) -
Method Summary
Modifier and TypeMethodDescriptiongetData()intbooleanvoidwriteAsEncodedUnicode(Writer writer) Methods inherited from class XMLSecEventBaseImpl
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getEmptyIterator, getLocation, getParentXMLSecStartElement, getSchemaType, getStartElementAtLevel, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isStartDocument, isStartElement, setParentXMLSecStartElementMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface XMLEvent
getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isStartDocument, isStartElementMethods inherited from interface XMLSecEvent
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getParentXMLSecStartElement, getStartElementAtLevel, setParentXMLSecStartElement
-
Field Details
-
data
-
target
-
-
Constructor Details
-
XMLSecProcessingInstructionImpl
public XMLSecProcessingInstructionImpl(String target, String data, XMLSecStartElement parentXmlSecStartElement)
-
-
Method Details
-
getTarget
- Specified by:
getTargetin interfaceProcessingInstruction
-
getData
- Specified by:
getDatain interfaceProcessingInstruction
-
getEventType
public int getEventType()- Specified by:
getEventTypein interfaceXMLEvent
-
isProcessingInstruction
public boolean isProcessingInstruction()- Specified by:
isProcessingInstructionin interfaceXMLEvent- Overrides:
isProcessingInstructionin classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Overrides:
writeAsEncodedUnicodein classXMLSecEventBaseImpl- Throws:
XMLStreamException
-