de.ispsoft.jaxme
Class JMPI

java.lang.Object
  extended byde.ispsoft.jaxme.JMPI
All Implemented Interfaces:
java.lang.Cloneable, JMNode, java.io.Serializable

public class JMPI
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable, JMNode

An implementation of a processing instruction.

Author:
Jochen Wiedmann
See Also:
Serialized Form

Constructor Summary
JMPI()
          Creates a new instance of JMPI.
JMPI(java.lang.String pTarget, java.lang.String pData)
          Creates a new instance of JMEntity and the given actual entity.
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getData()
          Returns the data.
 java.lang.String getTarget()
          Returns the target.
 void setTarget(java.lang.String pTarget)
          Sets the target.
 void toSAX(org.xml.sax.ContentHandler pContentHandler, NamespaceSupport pNamespaceSupport)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMPI

public JMPI()
Creates a new instance of JMPI. The target and data must be initialized with setTarget() and setData().


JMPI

public JMPI(java.lang.String pTarget,
            java.lang.String pData)
Creates a new instance of JMEntity and the given actual entity.

Method Detail

getTarget

public java.lang.String getTarget()

Returns the target.


getData

public java.lang.String getData()

Returns the data.


setTarget

public void setTarget(java.lang.String pTarget)

Sets the target.


toSAX

public void toSAX(org.xml.sax.ContentHandler pContentHandler,
                  NamespaceSupport pNamespaceSupport)
           throws org.xml.sax.SAXException
Specified by:
toSAX in interface JMNode
Throws:
org.xml.sax.SAXException

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Specified by:
clone in interface JMNode
Throws:
java.lang.CloneNotSupportedException