pdk.flow.xml.XmlProcessingInstruction
contains functions to operate with XML ProcessingInstruction variables
This functions are based on Java org.w3c.dom
package classes.
https://docs.oracle.com/en/java/javase/11/docs/api/java.xml/org/w3c/dom/package-summary.html
You can always rely on Java documentation and examples!
Functions
getData
The content of this processing instruction. This is from the first non white space character after the target to the character immediately preceding the ?>
.
Arguments:
instruction
:: pdk.net.xml.ProcessingInstruction - The instruction
Result:
output :: pdk.core.String
Possible exceptions
NullPointerException - throws if the
instruction
isNULL
getTarget
The target of this processing instruction. XML defines this as being the first token following the markup that begins the processing instruction.
Arguments:
instruction
:: pdk.net.xml.ProcessingInstruction - The instruction
Result:
output :: pdk.core.String
Possible exceptions
NullPointerException - throws if the
instruction
isNULL
setData
The content of this processing instruction. This is from the first non white space character after the target to the character immediately preceding the ?>
.
Arguments:
instruction
:: pdk.net.xml.ProcessingInstruction - The instructiondata
:: pdk.core.String
Result:
output :: void
Possible exceptions
NullPointerException - throws if the
instruction
ordata
isNULL
DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
Last updated