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
 void discard()
          Delete this PI
 Factory getFactory()
          The Abdera Factory
<T extends Base>
T
getParentElement()
          The parent node
 String getTarget()
          The PI target
 String getText()
          The PI text
 void setTarget(String target)
          The PI target
<T extends ProcessingInstruction>
T
setText(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

String getTarget()
The PI target


setTarget

void setTarget(String target)
The PI target


getText

String getText()
The PI text


setText

<T extends ProcessingInstruction> T setText(String text)
The PI text



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.