org.exolab.castor.xml

Class ProcessingInstruction


public class ProcessingInstruction
extends java.lang.Object

A class that represents an XML processing instruction.
Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:13 $
Author:
Keith Visco

Constructor Summary

ProcessingInstruction(String target, String data)
Creates a new processing instruction.

Method Summary

String
getData()
Returns the data for the processing instruction.
String
getTarget()
Returns the target for the processing instruction.

Constructor Details

ProcessingInstruction

public ProcessingInstruction(String target,
                             String data)
Creates a new processing instruction.
Parameters:
target - the target for the processing instruction.
data - the data for the processing instruction.

Method Details

getData

public String getData()
Returns the data for the processing instruction.
Returns:
the data for the processing instruction.

getTarget

public String getTarget()
Returns the target for the processing instruction.
Returns:
the target for the processing instruction.

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