org.objectweb.jonas_ear.deployment.xml
Class Web

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

public class Web
extends AbsElement

This class defines the implementation of the element web

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
Web()
          Constructor
 
Method Summary
 java.lang.String getContextRoot()
          Gets the context-root
 java.lang.String getWebUri()
          Gets the web-uri
 void setContextRoot(java.lang.String contextRoot)
          Set the context-root
 void setWebUri(java.lang.String webUri)
          Set the web-uri
 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
 

Constructor Detail

Web

public Web()
Constructor

Method Detail

getWebUri

public java.lang.String getWebUri()
Gets the web-uri

Returns:
the web-uri

setWebUri

public void setWebUri(java.lang.String webUri)
Set the web-uri

Parameters:
webUri - webUri

getContextRoot

public java.lang.String getContextRoot()
Gets the context-root

Returns:
the context-root

setContextRoot

public void setContextRoot(java.lang.String contextRoot)
Set the context-root

Parameters:
contextRoot - contextRoot

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.