org.objectweb.jonas_lib.deployment.xml
Interface Element

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbsElement

public interface Element
extends java.io.Serializable

This class defines the interface that all Element objects must use. These elements are used by Digester during the xml parsing

Author:
Florent Benoit

Method Summary
 java.lang.String toXML()
          Represents this element by it's XML description Use a default indent set to 0
 java.lang.String toXML(int indent)
          Represents this element by it's XML description
 

Method Detail

toXML

public java.lang.String toXML(int indent)
Represents this element by it's XML description

Parameters:
indent - use this indent for prexifing XML representation
Returns:
the XML description of this object

toXML

public java.lang.String toXML()
Represents this element by it's XML description Use a default indent set to 0

Returns:
the XML description of this object