org.ow2.jonas.deployment.ws.xml
Class JonasWebservices

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.ws.xml.JonasWebservices
All Implemented Interfaces:
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 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
 String getContextRoot()
           
 String getHeader()
           
 JLinkedList getJonasWebserviceDescriptionList()
          Gets the jonas-webservice-description
 String getWar()
          Gets the war
 void setContextRoot(String contextRoot)
           
 void setHeader(String header)
           
 void setWar(String war)
          Set the war
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.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 String JONAS_WEBSERVICES_ELEMENT
jonas-webservices element XML header

Constructor Detail

JonasWebservices

public JonasWebservices()
Constructor

Method Detail

getWar

public String getWar()
Gets the war

Returns:
the war

setWar

public void setWar(String war)
Set the war

Parameters:
war - war

getContextRoot

public String getContextRoot()
Returns:
Returns the contextRoot.

setContextRoot

public void setContextRoot(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 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 String getHeader()
Returns:
the header.

setHeader

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.