org.objectweb.jonas_ws.deployment.xml
Class JonasWebservices

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_ws.deployment.xml.JonasWebservices
All Implemented Interfaces:
java.io.Serializable, Element, TopLevelElement

public class JonasWebservices
extends AbsElement
implements TopLevelElement

This class defines the implementation of the element jonas-webservices

Author:
JOnAS team
See Also:
Serialized Form

Field Summary
static java.lang.String JONAS_WEBSERVICES_ELEMENT
          jonas-webservices element XML header
 
Constructor Summary
JonasWebservices()
          Constructor
 
Method Summary
 void addJonasWebserviceDescription(JonasWebserviceDescription jwsd)
          Add a new jonas-webservice-description element to this object
 java.lang.String getContextRoot()
           
 java.lang.String getHeader()
           
 JLinkedList getJonasWebserviceDescriptionList()
          Gets the jonas-webservice-description
 java.lang.String getWar()
          Gets the war
 void setContextRoot(java.lang.String contextRoot)
           
 void setHeader(java.lang.String header)
           
 void setWar(java.lang.String war)
          Set the war
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JONAS_WEBSERVICES_ELEMENT

public static final java.lang.String JONAS_WEBSERVICES_ELEMENT
jonas-webservices element XML header

Constructor Detail

JonasWebservices

public JonasWebservices()
Constructor

Method Detail

getWar

public java.lang.String getWar()
Gets the war

Returns:
the war

setWar

public void setWar(java.lang.String war)
Set the war

Parameters:
war - war

getContextRoot

public java.lang.String getContextRoot()
Returns:
Returns the contextRoot.

setContextRoot

public void setContextRoot(java.lang.String contextRoot)
Parameters:
contextRoot - The contextRoot to set.

getJonasWebserviceDescriptionList

public JLinkedList getJonasWebserviceDescriptionList()
Gets the jonas-webservice-description

Returns:
the jonas-webservice-description

addJonasWebserviceDescription

public void addJonasWebserviceDescription(JonasWebserviceDescription jwsd)
Add a new jonas-webservice-description element to this object

Parameters:
jwsd - the jonas-webservice-description

toXML

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

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.

getHeader

public java.lang.String getHeader()
Returns:
the header.

setHeader

public void setHeader(java.lang.String header)
Parameters:
header - The header to set.