org.ow2.jonas.deployment.domain.xml
Class Location
java.lang.Object
org.ow2.jonas.deployment.common.xml.AbsElement
org.ow2.jonas.deployment.domain.xml.Location
- All Implemented Interfaces:
- Serializable, Element
public class Location
- extends AbsElement
- Author:
- Adriana Danes
A location element is composed of a list of urls, where a url is
the-string-representation-of-the-url
- See Also:
- Serialized Form
Constructor Summary |
Location()
Constructor |
Location
public Location()
- Constructor
getUrlList
public JLinkedList getUrlList()
- Returns:
- Returns the urlList.
addUrl
public void addUrl(String url)
- Add a url to the urlList.
- Parameters:
url
-
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.