|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.util.xml.DocumentReader
org.mmbase.util.XMLBasicReader
org.mmbase.util.xml.BuilderReader
Used to parse and retrieve data from a builder configuration file. The parser support builders for builder dtd 1.1.
| Field Summary | |
static java.lang.String |
DTD_BUILDER
DTD respource filename of the most recent Builder DTD |
static java.lang.String |
DTD_BUILDER_1_0
DTD resource filename of the Builder DTD version 1.0 |
static java.lang.String |
DTD_BUILDER_1_1
DTD resource filename of the Builder DTD version 1.1 |
static java.lang.String |
PUBLIC_ID_BUILDER
Public ID of the most recent Builder DTD |
static java.lang.String |
PUBLIC_ID_BUILDER_1_0
Public ID of the Builder DTD version 1.0 |
static java.lang.String |
PUBLIC_ID_BUILDER_1_1
Public ID of the Builder DTD version 1.1 |
| Fields inherited from class org.mmbase.util.xml.DocumentReader |
document, DTD_ERROR, DTD_ERROR_1_0, FILENOTFOUND, PUBLIC_ID_ERROR, PUBLIC_ID_ERROR_1_0 |
| Constructor Summary | |
BuilderReader(org.xml.sax.InputSource source,
MMBase mmb)
|
|
BuilderReader(java.lang.String filename)
Creates an instance by reading a builder configuration (xml) file. |
|
BuilderReader(java.lang.String fileName,
MMBase mmb)
Creates an instance by reading a builder configuration (xml) file. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
|
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()
Detremines if inheritance is resolved. |
static void |
registerPublicIDs()
Register the Public Ids for DTDs used by XMLBasicReader This method is called by XMLEntityResolver. |
protected boolean |
resolveInheritance()
Resolves inheritance. |
boolean |
storageEquals(BuilderReader f)
Whether this FieldDefs object is equal to another for storage purposes (so, ignoring gui and documentation fields) |
| Methods inherited from class org.mmbase.util.XMLBasicReader |
getChildElements, getChildElements, getChildElements, getChildElements, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getElementAttributeValue, getElementAttributeValue, getElementByPath, getElementByPath, getElementName, getElementValue, getElementValue |
| Methods inherited from class org.mmbase.util.xml.DocumentReader |
getFileName, getNodeTextValue, validate |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String PUBLIC_ID_BUILDER_1_0
public static final java.lang.String PUBLIC_ID_BUILDER_1_1
public static final java.lang.String DTD_BUILDER_1_0
public static final java.lang.String DTD_BUILDER_1_1
public static final java.lang.String PUBLIC_ID_BUILDER
public static final java.lang.String DTD_BUILDER
| Constructor Detail |
public BuilderReader(java.lang.String fileName,
MMBase mmb)
fileName - path to the builder configuration file to parsemmb - The MMBase instance. Used to resolve inheritance of builderspublic BuilderReader(java.lang.String filename)
filename - path to the builder configuration file to parse
public BuilderReader(org.xml.sax.InputSource source,
MMBase mmb)
| Method Detail |
public static void registerPublicIDs()
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()
public boolean equals(java.lang.Object o)
public boolean storageEquals(BuilderReader f)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||