Matra DTD Parser 0.8b

com.conradroche.dtd.decl
Interface PI

All Known Implementing Classes:
PI

public interface PI

Interface to hold a Processing Instruction.

From the XML Specifications (2nd edition) -
[Definition: Processing instructions (PIs) allow documents to contain instructions for applications.]

Author:
Conrad Roche

Method Summary
 String getInstructions()
          Returns the character data that constitute the instructions.
 String getPITarget()
          Returns the PI Target.
 void setInstructions(String data)
          Sets the character data that constitute the instructions.
 void setPITarget(String target)
          Sets the Target for this PI.
 

Method Detail

getPITarget

public String getPITarget()
Returns the PI Target.

From the XML Specification -
The PI begins with a target (PITarget) used to identify the application to which the instruction is directed. The target names "XML", "xml", and so on are reserved for standardization in this or future versions of this specification. The XML Notation mechanism may be used for formal declaration of PI targets.

Returns:
The PI Target.
See Also:
setPITarget(java.lang.String)

setPITarget

public void setPITarget(String target)
Sets the Target for this PI.
Parameters:
target - The target for this PI.
See Also:
getPITarget()

getInstructions

public String getInstructions()
Returns the character data that constitute the instructions.
Returns:
The instructions.
See Also:
setInstructions(java.lang.String)

setInstructions

public void setInstructions(String data)
Sets the character data that constitute the instructions.
Parameters:
data - The instructions.
See Also:
getInstructions()

Matra DTD Parser 0.8b