org.castor.xmlctf.xmldiff.xml.nodes

Class ProcessingInstruction


public class ProcessingInstruction
extends XMLNode

A class representing an XML Processing Instruction.
Version:
$Revision: 0000 $ $Date: 2007-01-11 00:00:00 -0600 (Thu, 11 Jan 2007) $
Author:
Edward Kuns
Since:
Castor 1.1

Field Summary

Fields inherited from class org.castor.xmlctf.xmldiff.xml.nodes.XMLNode

ATTRIBUTE, ELEMENT, PROCESSING_INSTRUCTION, ROOT, TEXT

Constructor Summary

ProcessingInstruction(String target, String value)
Creates a new ProcessingInstruction.

Method Summary

String
getStringValue()
Returns the string value of the node.

Methods inherited from class org.castor.xmlctf.xmldiff.xml.nodes.XMLNode

getLocalName, getNamespaceURI, getNamespaceURI, getNodeLocation, getNodeType, getParentNode, getRootNode, getStringValue, getXPath, setNamespace, setParent

Constructor Details

ProcessingInstruction

public ProcessingInstruction(String target,
                             String value)
Creates a new ProcessingInstruction.
Parameters:
target - the target for this Processing Instruction. (May be null.)
value - the value of this Processing Instruction. (May be null.)

Method Details

getStringValue

public String getStringValue()
Returns the string value of the node. The string value of a processing instruction is the instruction.
Overrides:
getStringValue in interface XMLNode
Returns:
The string value of the node.

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com