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

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.AbsDescriptionElement
          extended by org.ow2.jonas.deployment.ws.xml.Webservices
All Implemented Interfaces:
Serializable, DescriptionGroupXml, Element, TopLevelElement

public class Webservices
extends AbsDescriptionElement
implements TopLevelElement, DescriptionGroupXml

This class defines the implementation of the element webservices

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
Webservices()
          Constructor
 
Method Summary
 void addWebserviceDescription(WebserviceDescription webserviceDescription)
          Add a new webservice-description element to this object
 String getVersion()
           
 JLinkedList getWebserviceDescriptionList()
          Gets the webservice-description
 void setVersion(String version)
          Set the version.
 void setWebserviceDescriptionList(JLinkedList webserviceDescriptionList)
          Set the webservice-description
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsDescriptionElement
getDescription, getDisplayName, getIcon, setDescription, setDisplayName, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon
 
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
 
Methods inherited from interface org.ow2.jonas.deployment.common.xml.DescriptionGroupXml
getDescription, getDisplayName, getIcon
 

Constructor Detail

Webservices

public Webservices()
Constructor

Method Detail

getWebserviceDescriptionList

public JLinkedList getWebserviceDescriptionList()
Gets the webservice-description

Returns:
the webservice-description

setWebserviceDescriptionList

public void setWebserviceDescriptionList(JLinkedList webserviceDescriptionList)
Set the webservice-description

Parameters:
webserviceDescriptionList - webserviceDescription

addWebserviceDescription

public void addWebserviceDescription(WebserviceDescription webserviceDescription)
Add a new webservice-description element to this object

Parameters:
webserviceDescription - the webserviceDescriptionobject

getVersion

public String getVersion()
Returns:
the webservices.xml file version.

setVersion

public void setVersion(String version)
Set the version.

Parameters:
version - version String value

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.


Copyright © 2010 OW2 Consortium. All Rights Reserved.