de.ispsoft.jaxme
Class JMEntity

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

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

An implementation of a skipped entity.

Author:
Jochen Wiedmann
See Also:
Serialized Form

Constructor Summary
JMEntity()
          Creates a new instance of JMEntity.
JMEntity(java.lang.String pEntity)
          Creates a new instance of JMEntity and the given actual entity.
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getEntity()
          Returns the entity being skipped.
 void setEntity(java.lang.String pEntity)
          Sets the entity being skipped.
 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

JMEntity

public JMEntity()
Creates a new instance of JMEntity. The actual entity must be initialized with setEntity().


JMEntity

public JMEntity(java.lang.String pEntity)
Creates a new instance of JMEntity and the given actual entity.

Method Detail

getEntity

public java.lang.String getEntity()

Returns the entity being skipped.


setEntity

public void setEntity(java.lang.String pEntity)

Sets the entity being skipped.


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