org.objectweb.jonas_lib.deployment.xml.AbsElement Class Reference

Inherits org.objectweb.jonas_lib.deployment.xml.Element.

Inherited by org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement, org.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement, org.objectweb.jonas_lib.deployment.xml.AbsJonasParam, org.objectweb.jonas_lib.deployment.xml.EjbLocalRef, org.objectweb.jonas_lib.deployment.xml.EjbRef, org.objectweb.jonas_lib.deployment.xml.EnvEntry, org.objectweb.jonas_lib.deployment.xml.Handler, org.objectweb.jonas_lib.deployment.xml.Icon, org.objectweb.jonas_lib.deployment.xml.InitParam, org.objectweb.jonas_lib.deployment.xml.JonasEjbRef, org.objectweb.jonas_lib.deployment.xml.JonasMessageDestination, org.objectweb.jonas_lib.deployment.xml.JonasMessageDestinationRef, org.objectweb.jonas_lib.deployment.xml.JonasPortComponentRef, org.objectweb.jonas_lib.deployment.xml.JonasResource, org.objectweb.jonas_lib.deployment.xml.JonasResourceEnv, org.objectweb.jonas_lib.deployment.xml.JonasServiceRef, org.objectweb.jonas_lib.deployment.xml.MessageDestination, org.objectweb.jonas_lib.deployment.xml.MessageDestinationRef, org.objectweb.jonas_lib.deployment.xml.PortComponentRef, org.objectweb.jonas_lib.deployment.xml.Qname, org.objectweb.jonas_lib.deployment.xml.ResourceEnvRef, org.objectweb.jonas_lib.deployment.xml.ResourceRef, org.objectweb.jonas_lib.deployment.xml.RunAs, org.objectweb.jonas_lib.deployment.xml.SecurityRole, org.objectweb.jonas_lib.deployment.xml.SecurityRoleRef, and org.objectweb.jonas_lib.deployment.xml.ServiceRef.

Inheritance diagram for org.objectweb.jonas_lib.deployment.xml.AbsElement:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_lib.deployment.xml.AbsElement:

Collaboration graph
[legend]
List of all members.

Public Member Functions

abstract String toXML (int indent)
String toXML ()
String toString ()

Protected Member Functions

String indent (int indent)
String xmlElement (String value, String xmlTag, int indent)
String xmlAttribute (String value, String xmlTag)

Detailed Description

This class defines the implementation of the interface Element. These elements are used by Digester during the xml parsing.
Author:
Florent Benoit

Definition at line 34 of file AbsElement.java.


Member Function Documentation

String org.objectweb.jonas_lib.deployment.xml.AbsElement.indent int  indent  )  [protected]
 

Return indent spaces.

Parameters:
indent number of indentation.
Returns:
the indent space string.

Definition at line 69 of file AbsElement.java.

Referenced by org.objectweb.jonas_lib.deployment.xml.ServiceRef.toXML(), org.objectweb.jonas_lib.deployment.xml.SecurityRoleRef.toXML(), org.objectweb.jonas_lib.deployment.xml.RunAs.toXML(), org.objectweb.jonas_lib.deployment.xml.ResourceRef.toXML(), org.objectweb.jonas_lib.deployment.xml.ResourceEnvRef.toXML(), org.objectweb.jonas_lib.deployment.xml.Qname.toXML(), org.objectweb.jonas_lib.deployment.xml.PortComponentRef.toXML(), org.objectweb.jonas_lib.deployment.xml.MessageDestinationRef.toXML(), org.objectweb.jonas_lib.deployment.xml.MessageDestination.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasServiceRef.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasResourceEnv.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasResource.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasPortComponentRef.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasMessageDestinationRef.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasMessageDestination.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasEjbRef.toXML(), org.objectweb.jonas_lib.deployment.xml.InitParam.toXML(), org.objectweb.jonas_lib.deployment.xml.Icon.toXML(), org.objectweb.jonas_lib.deployment.xml.Handler.toXML(), org.objectweb.jonas_lib.deployment.xml.EnvEntry.toXML(), org.objectweb.jonas_lib.deployment.xml.EjbRef.toXML(), org.objectweb.jonas_lib.deployment.xml.EjbLocalRef.toXML(), org.objectweb.jonas_lib.deployment.xml.AbsJonasParam.toXML(), org.objectweb.jonas_lib.deployment.xml.SecurityRole.toXML(), and org.objectweb.jonas_lib.deployment.xml.AbsElement.xmlElement().

String org.objectweb.jonas_lib.deployment.xml.AbsElement.toString  ) 
 

Return the representation of this element. Use the XML representation of the object for the toString() method.

Returns:
the XML description of this object.

Definition at line 59 of file AbsElement.java.

References org.objectweb.jonas_lib.deployment.xml.AbsElement.toXML().

Referenced by org.objectweb.jonas_lib.deployment.api.EjbRefDesc.toString(), org.objectweb.jonas_ws.deployment.xml.JavaXmlTypeMapping.toXML(), org.objectweb.jonas_web.deployment.xml.Servlet.toXML(), and org.objectweb.jonas_ejb.deployment.xml.SecurityIdentity.toXML().

Here is the call graph for this function:

String org.objectweb.jonas_lib.deployment.xml.AbsElement.toXML  ) 
 

Represents this element by it's XML description. Use a default indent set to 0.

Returns:
the XML description of this object.

Implements org.objectweb.jonas_lib.deployment.xml.Element.

Definition at line 50 of file AbsElement.java.

Referenced by org.objectweb.jonas_lib.deployment.xml.AbsElement.toString().

abstract String org.objectweb.jonas_lib.deployment.xml.AbsElement.toXML int  indent  )  [pure virtual]
 

Represents this element by it's XML description.

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

Implements org.objectweb.jonas_lib.deployment.xml.Element.

Implemented in org.objectweb.jonas_lib.deployment.xml.AbsJonasParam, org.objectweb.jonas_lib.deployment.xml.EjbLocalRef, org.objectweb.jonas_lib.deployment.xml.EjbRef, org.objectweb.jonas_lib.deployment.xml.EnvEntry, org.objectweb.jonas_lib.deployment.xml.Handler, org.objectweb.jonas_lib.deployment.xml.Icon, org.objectweb.jonas_lib.deployment.xml.InitParam, org.objectweb.jonas_lib.deployment.xml.JonasEjbRef, org.objectweb.jonas_lib.deployment.xml.JonasMessageDestination, org.objectweb.jonas_lib.deployment.xml.JonasMessageDestinationRef, org.objectweb.jonas_lib.deployment.xml.JonasPortComponentRef, org.objectweb.jonas_lib.deployment.xml.JonasResource, org.objectweb.jonas_lib.deployment.xml.JonasResourceEnv, org.objectweb.jonas_lib.deployment.xml.JonasServiceRef, org.objectweb.jonas_lib.deployment.xml.MessageDestination, org.objectweb.jonas_lib.deployment.xml.MessageDestinationRef, org.objectweb.jonas_lib.deployment.xml.PortComponentRef, org.objectweb.jonas_lib.deployment.xml.Qname, org.objectweb.jonas_lib.deployment.xml.ResourceEnvRef, org.objectweb.jonas_lib.deployment.xml.ResourceRef, org.objectweb.jonas_lib.deployment.xml.RunAs, org.objectweb.jonas_lib.deployment.xml.SecurityRole, org.objectweb.jonas_lib.deployment.xml.SecurityRoleRef, and org.objectweb.jonas_lib.deployment.xml.ServiceRef.

Referenced by org.objectweb.jonas_lib.deployment.tests.AbsDeploymentTest.parseElement(), and org.objectweb.jonas_lib.deployment.tests.AbsDeploymentTest.startTest().

String org.objectweb.jonas_lib.deployment.xml.AbsElement.xmlAttribute String  value,
String  xmlTag
[protected]
 

Return the xml representation of the specified attribute value

Parameters:
value String value to represent in XML
xmlTag tag of the attribute
Returns:
xml representation of the specified value

Definition at line 109 of file AbsElement.java.

String org.objectweb.jonas_lib.deployment.xml.AbsElement.xmlElement String  value,
String  xmlTag,
int  indent
[protected]
 

Return the xml representation of the specified value with the root-element xmlTag

Parameters:
value String value to represent in XML
xmlTag tag of the root-element
indent indent to use
Returns:
xml representation of the specified value

Definition at line 84 of file AbsElement.java.

References org.objectweb.jonas_lib.deployment.xml.AbsElement.indent().

Referenced by org.objectweb.jonas_lib.deployment.xml.ServiceRef.toXML(), org.objectweb.jonas_lib.deployment.xml.SecurityRoleRef.toXML(), org.objectweb.jonas_lib.deployment.xml.RunAs.toXML(), org.objectweb.jonas_lib.deployment.xml.ResourceRef.toXML(), org.objectweb.jonas_lib.deployment.xml.ResourceEnvRef.toXML(), org.objectweb.jonas_lib.deployment.xml.PortComponentRef.toXML(), org.objectweb.jonas_lib.deployment.xml.MessageDestinationRef.toXML(), org.objectweb.jonas_lib.deployment.xml.MessageDestination.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasServiceRef.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasResourceEnv.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasResource.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasPortComponentRef.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasMessageDestinationRef.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasMessageDestination.toXML(), org.objectweb.jonas_lib.deployment.xml.JonasEjbRef.toXML(), org.objectweb.jonas_lib.deployment.xml.InitParam.toXML(), org.objectweb.jonas_lib.deployment.xml.Icon.toXML(), org.objectweb.jonas_lib.deployment.xml.Handler.toXML(), org.objectweb.jonas_lib.deployment.xml.EnvEntry.toXML(), org.objectweb.jonas_lib.deployment.xml.EjbRef.toXML(), org.objectweb.jonas_lib.deployment.xml.EjbLocalRef.toXML(), org.objectweb.jonas_lib.deployment.xml.AbsJonasParam.toXML(), and org.objectweb.jonas_lib.deployment.xml.SecurityRole.toXML().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:12:30 2005 for JOnAS by  doxygen 1.3.9.1