|
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.ResourcesDetails
public class ResourcesDetails
A list of resources
.
ResourceDetails
,
Serialized FormConstructor Summary | |
---|---|
ResourcesDetails()
|
Method Summary | |
---|---|
void |
accept(XmlVisitor visitor)
Accepts the specified XML visitor. |
void |
addResource(ResourceDetails resource)
Adds the specified resource to this list. |
ResourceDetails |
findResourceById(String id)
Searches for a resource in this XML element that matches the input parameter. |
List<ResourceDetails> |
getResources()
Returns the list of resources. |
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 ResourcesDetails()
Method Detail |
---|
public List<ResourceDetails> getResources()
null
.addResource(ResourceDetails)
public void addResource(ResourceDetails resource)
resource
- a resource. Shall not be null
.
NullPointerException
- if resource
is null
.getResources()
public ResourceDetails findResourceById(String id)
id
- a resource identifier. Must not be null
.
null
if none was found.
NullPointerException
- if id
is null
.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 |