org.ow2.jonas.deployment.ear.xml
Class Web

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.ear.xml.Web
All Implemented Interfaces:
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
 String getContextRoot()
          Gets the context-root
 String getWebUri()
          Gets the web-uri
 void setContextRoot(String contextRoot)
          Set the context-root
 void setWebUri(String webUri)
          Set the web-uri
 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
 

Constructor Detail

Web

public Web()
Constructor

Method Detail

getWebUri

public String getWebUri()
Gets the web-uri

Returns:
the web-uri

setWebUri

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

Parameters:
webUri - webUri

getContextRoot

public String getContextRoot()
Gets the context-root

Returns:
the context-root

setContextRoot

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

Parameters:
contextRoot - contextRoot

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.