|
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.IdDetails
christophedelory.betty.xml.ModelDetails
public class ModelDetails
The base XML definition of a processing model.
Constructor Summary | |
---|---|
ModelDetails(String defaultModel)
Builds a new processing model definition, based on the input parameter. |
Method Summary | |
---|---|
void |
accept(XmlVisitor visitor)
Accepts the specified XML visitor. |
void |
addProperty(PropertyDetails property)
Adds the specified property to the list of parameters attached to this processing model. |
PropertyDetails |
findPropertyById(String id)
Searches for a property in this XML element that matches the input parameter. |
List<PropertyDetails> |
getProperties()
Returns the list of parameters attached to this processing model. |
Methods inherited from class christophedelory.betty.xml.IdDetails |
---|
addDescription, addLink, findDescriptionByLocale, findLinkByLocale, getDescriptions, getId, getLinks, setId |
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 |
Constructor Detail |
---|
public ModelDetails(String defaultModel)
defaultModel
- the default identifier of this processing model. Shall not be null
.
NullPointerException
- if defaultModel
is null
.Method Detail |
---|
public List<PropertyDetails> getProperties()
null
.addProperty(PropertyDetails)
public void addProperty(PropertyDetails property)
property
- a property. Shall not be null
.
NullPointerException
- if property
is null
.getProperties()
public PropertyDetails findPropertyById(String id)
id
- a property identifier. Must not be null
.
null
if none was found.
NullPointerException
- if id
is null
.public void accept(XmlVisitor visitor) throws Exception
IdDetails
accept
in class IdDetails
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 |