org.mmbase.util
Class XMLBuilderReader

java.lang.Object
  |
  +--org.mmbase.util.XMLBasicReader
        |
        +--org.mmbase.util.XMLBuilderReader

public class XMLBuilderReader
extends XMLBasicReader

Version:
$Id: XMLBuilderReader.java,v 1.20 2000/11/07 14:28:56 vpro Exp $ $Log: XMLBuilderReader.java,v $ Revision 1.20 2000/11/07 14:28:56 vpro Rico: removed TYPE_TEXT Revision 1.19 2000/08/29 13:33:02 case cjr: oops, wrong variabele given as argument in getProperties Revision 1.18 2000/08/29 10:55:24 case cjr: Modified getProperties for and tags Revision 1.17 2000/08/22 11:32:53 daniel small fix for maintainer default Revision 1.16 2000/08/18 19:42:13 case cjr: Fixed bug whereby adding and to the top of the xml file resulted in a parse error. (Actually did a pretty complete rewrite of the reader by deriving it from XMLBasicReader)

Constructor Summary
XMLBuilderReader(java.lang.String filename)
           
 
Method Summary
 FieldDefs decodeFieldDef(org.w3c.dom.Element field)
          decode one fielddef
 java.lang.String getBuilderMaintainer()
          get the version of this application
 int getBuilderVersion()
          get the version of this application
 java.lang.String getClassFile()
          get the classfile of this builder
 int getDBType(org.w3c.dom.Element dbtype, FieldDefs def)
           
 java.util.Hashtable getDescriptions()
          get the descriptions of this builder
 int getEditorInputPos(org.w3c.dom.Node n1)
           
 int getEditorListPos(org.w3c.dom.Node n1)
           
 int getEditorSearchPos(org.w3c.dom.Node n1)
           
 java.util.Vector getFieldDefs()
          get the fieldDefs of this builder
 void getGUIName(org.w3c.dom.Node n1, FieldDefs def)
           
 java.util.Hashtable getPluralNames()
          get the pluralnames of this builder
 java.util.Hashtable getProperties()
          Get the properties of this builder
 int getSearchAge()
          get the Search Age
 java.util.Hashtable getSingularNames()
          get the pluralnames of this builder
 java.lang.String getStatus()
          get the status of this builder
 
Methods inherited from class org.mmbase.util.XMLBasicReader
getChildElements, getChildElements, getDocumentBuilder, getElementAttributeValue, getElementByPath, getElementByPath, getElementName, getElementValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLBuilderReader

public XMLBuilderReader(java.lang.String filename)
Method Detail

getStatus

public java.lang.String getStatus()
get the status of this builder

getSearchAge

public int getSearchAge()
get the Search Age

getClassFile

public java.lang.String getClassFile()
get the classfile of this builder

getFieldDefs

public java.util.Vector getFieldDefs()
get the fieldDefs of this builder

decodeFieldDef

public FieldDefs decodeFieldDef(org.w3c.dom.Element field)
decode one fielddef

getDBType

public int getDBType(org.w3c.dom.Element dbtype,
                     FieldDefs def)

getEditorInputPos

public int getEditorInputPos(org.w3c.dom.Node n1)

getEditorListPos

public int getEditorListPos(org.w3c.dom.Node n1)

getEditorSearchPos

public int getEditorSearchPos(org.w3c.dom.Node n1)

getProperties

public java.util.Hashtable getProperties()
Get the properties of this builder

getDescriptions

public java.util.Hashtable getDescriptions()
get the descriptions of this builder

getPluralNames

public java.util.Hashtable getPluralNames()
get the pluralnames of this builder

getGUIName

public void getGUIName(org.w3c.dom.Node n1,
                       FieldDefs def)

getSingularNames

public java.util.Hashtable getSingularNames()
get the pluralnames of this builder

getBuilderVersion

public int getBuilderVersion()
get the version of this application

getBuilderMaintainer

public java.lang.String getBuilderMaintainer()
get the version of this application


MMBase 2001