public class BuilderReader extends AbstractBuilderReader<CoreField>
DTD_BUILDER, DTD_BUILDER_1_0, DTD_BUILDER_1_1, inheritanceResolved, inputPositions, NAMESPACE_BUILDER, NAMESPACE_BUILDER_2_0, PUBLIC_ID_BUILDER, PUBLIC_ID_BUILDER_1_0, PUBLIC_ID_BUILDER_1_1, searchPositions, XSD_BUILDER_2_0document, DTD_ERROR, DTD_ERROR_1_0, FILENOTFOUND, PUBLIC_ID_ERROR, PUBLIC_ID_ERROR_1_0, utilProperties| Constructor and Description |
|---|
BuilderReader(Document doc,
MMBase mmb) |
BuilderReader(InputSource source,
MMBase mmb) |
| Modifier and Type | Method and Description |
|---|---|
protected BasicDataType |
getDataTypeForFieldAttribute(String fieldAttribute) |
List<CoreField> |
getFields()
Get the field definitions of this builder.
|
List<CoreField> |
getFields(MMObjectBuilder builder,
DataTypeCollector collector)
Get the field definitions of this builder.
|
Set<Function> |
getFunctions(MMObjectBuilder builder) |
List<Index> |
getIndices(MMObjectBuilder builder)
Get the named indices of this builder.
|
MMObjectBuilder |
getParentBuilder()
Get the builder that this builder extends
|
protected String |
getParentClassName() |
protected String |
getParentMaintainer() |
protected Map<String,String> |
getParentProperties() |
protected int |
getParentSearchAge() |
protected int |
getParentVersion() |
protected boolean |
hasParent() |
static void |
main(String[] argv)
For testing only
|
protected boolean |
resolveInheritance()
Resolves inheritance.
|
boolean |
storageEquals(BuilderReader f)
Whether this builderreader object is equal to another for storage purposes (so, ignoring gui and documentation fields)
|
decodeDataType, decodeDataTypeLater, decodeFieldAttributes, decodeFieldDef, equals, getBuilderLoader, getClassName, getDataTypes, getDescriptions, getEditorPos, getExtends, getLocalizedDescription, getLocalizedPluralName, getLocalizedSingularName, getMaintainer, getName, getPluralNames, getProperties, getSearchAge, getSingularNames, getStatus, getVersion, isInheritanceResolved, mergeElementLists, registerPublicIDs, registerSystemIDs, resolveInheritanceByXML, toStringappendChild, getAttribute, getChildElements, getChildElements, getChildElements, getChildElements, getDocument, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getElementAttributeValue, getElementAttributeValue, getElementByPath, getElementByPath, getElementName, getElementValue, getElementValue, getNodeTextValue, getNodeTextValue, getRootElement, getSystemId, hasAttribute, setNodeTextValue, setPrefix, setSystemId, toDocument, validate, validatepublic BuilderReader(InputSource source, MMBase mmb)
protected boolean resolveInheritance()
AbstractBuilderReaderresolveInheritance in class AbstractBuilderReader<CoreField>AbstractBuilderReader.isInheritanceResolved()protected int getParentSearchAge()
getParentSearchAge in class AbstractBuilderReader<CoreField>protected String getParentClassName()
getParentClassName in class AbstractBuilderReader<CoreField>public List<CoreField> getFields()
AbstractBuilderReadergetFields in class AbstractBuilderReader<CoreField>public List<CoreField> getFields(MMObjectBuilder builder, DataTypeCollector collector)
builder - the MMObjectBuilder to which the fields will be addedcollector - the datatype collector used to access the datatypes available for the fields to read.public List<Index> getIndices(MMObjectBuilder builder)
Index.MAIN).builder - the MMObjectBuilder to which the fields will be addedpublic Set<Function> getFunctions(MMObjectBuilder builder)
public MMObjectBuilder getParentBuilder()
protected boolean hasParent()
hasParent in class AbstractBuilderReader<CoreField>protected Map<String,String> getParentProperties()
getParentProperties in class AbstractBuilderReader<CoreField>protected int getParentVersion()
getParentVersion in class AbstractBuilderReader<CoreField>protected String getParentMaintainer()
getParentMaintainer in class AbstractBuilderReader<CoreField>public boolean storageEquals(BuilderReader f)
protected BasicDataType getDataTypeForFieldAttribute(String fieldAttribute) throws DataTypes.FieldNotFoundException
getDataTypeForFieldAttribute in class AbstractBuilderReader<CoreField>fieldAttribute - DataTypes.FieldNotFoundExceptionMMBase 1.9-SNAPSHOT - ${javadoctimestamp}