|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.mmbase.util.XMLBasicReader
|
+--org.mmbase.util.XMLBuilderReader
This class is used to parse and retrieve data from a builder configuration file.
| Fields inherited from class org.mmbase.util.XMLBasicReader |
document |
| Constructor Summary | |
XMLBuilderReader(java.lang.String filename)
Creates an instance by reading a builder configuration (xml) file. |
|
XMLBuilderReader(java.lang.String filename,
MMBase mmb)
Creates an instance by reading a builder configuration (xml) file. |
|
| Method Summary | |
java.lang.String |
getBuilderExtends()
Get the name of the builder that this builder extends |
java.lang.String |
getBuilderMaintainer()
Retrieve the name of the maintainer of this builder |
int |
getBuilderVersion()
Retrieve the (major) version number of this builder |
java.lang.String |
getClassFile()
Get the class name to use for instantiating this builder. |
java.util.Hashtable |
getDescriptions()
Get the descriptions of this builder |
java.util.Vector |
getFieldDefs()
Get the field definitions of this builder. |
MMObjectBuilder |
getParentBuilder()
Get the builder that this builder extends |
java.util.Hashtable |
getPluralNames()
Get the plural names of this builder |
java.util.Hashtable |
getProperties()
Get the properties of this builder |
int |
getSearchAge()
Retrieves the Search Age. |
java.util.Hashtable |
getSingularNames()
Get the singular (GUI) names of this builder |
java.lang.String |
getStatus()
Get the status of this builder. |
boolean |
isInheritanceResolved()
Is inheritance resolved? This method returns true if a call to resolveInheritance succeeded. |
protected boolean |
resolveInheritance()
Resolves inheritance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLBuilderReader(java.lang.String filename,
MMBase mmb)
filename - path to the builder configuration file to parsemmb - The MMBase instance. Used to resolve inheritance of builderspublic XMLBuilderReader(java.lang.String filename)
filename - path to the builder configuration file to parse| Method Detail |
protected boolean resolveInheritance()
java.lang.RuntimeException - when the builder to extend from is not allowed as parentisInheritanceResolved()public boolean isInheritanceResolved()
resolveInheritance()public java.lang.String getStatus()
public int getSearchAge()
public java.lang.String getClassFile()
org.mmbase.module.builders package.public java.util.Vector getFieldDefs()
public java.util.Hashtable getProperties()
public java.util.Hashtable getDescriptions()
public java.util.Hashtable getPluralNames()
public java.util.Hashtable getSingularNames()
public MMObjectBuilder getParentBuilder()
public java.lang.String getBuilderExtends()
public int getBuilderVersion()
public java.lang.String getBuilderMaintainer()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||