Package org.apache.abdera.model
Interface ProcessingInstruction
-
public interface ProcessingInstruction
A processing instruction. Returned by the Abdera XPath implementation when querying for PI nodes (e.g. xpath.selectNodes("//processing-instruction()"); ...). There should be very little reason for applications to use this. It is provided to keep applications from having to deal with the underlying parser implementation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
discard()
Delete this PIFactory
getFactory()
The Abdera Factory<T extends Base>
TgetParentElement()
The parent nodejava.lang.String
getTarget()
The PI targetjava.lang.String
getText()
The PI textvoid
setTarget(java.lang.String target)
The PI target<T extends ProcessingInstruction>
TsetText(java.lang.String text)
The PI text
-
-
-
Method Detail
-
discard
void discard()
Delete this PI
-
getFactory
Factory getFactory()
The Abdera Factory
-
getParentElement
<T extends Base> T getParentElement()
The parent node
-
getTarget
java.lang.String getTarget()
The PI target
-
setTarget
void setTarget(java.lang.String target)
The PI target
-
getText
java.lang.String getText()
The PI text
-
setText
<T extends ProcessingInstruction> T setText(java.lang.String text)
The PI text
-
-