|
Betty v1.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchristophedelory.betty.xml.Child
christophedelory.betty.xml.LocationsDetails
public class LocationsDetails
A list of locations
.
Constructor Summary | |
---|---|
LocationsDetails()
|
Method Summary | |
---|---|
void |
accept(XmlVisitor visitor)
Accepts the specified XML visitor. |
void |
addLocation(LocationDetails location)
Adds a location to this list. |
LocationDetails |
findLocation(String locationId)
Returns the location with the specified identifier in this locations list. |
List<LocationDetails> |
getLocations()
Returns the list of locations. |
Methods inherited from class christophedelory.betty.xml.Child |
---|
getParent, getRoot, getRoot, getVersion, setParent, setVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface christophedelory.betty.xml.XmlRoot |
---|
getVersion, setVersion |
Constructor Detail |
---|
public LocationsDetails()
Method Detail |
---|
public List<LocationDetails> getLocations()
null
.addLocation(LocationDetails)
public void addLocation(LocationDetails location)
location
- a location. Shall not be null
.
NullPointerException
- if location
is null
.getLocations()
public LocationDetails findLocation(String locationId)
locationId
- a location identifier. May be null
.
null
if none could be found.public void accept(XmlVisitor visitor) throws Exception
XmlRoot
accept
in interface XmlRoot
visitor
- a visitor. Shall not be null
.
NullPointerException
- if visitor
is null
.
Exception
- if any error occurs during the visit.
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |