org.mmbase.util
Class XMLBuilderReader

java.lang.Object
  extended byorg.mmbase.util.xml.DocumentReader
      extended byorg.mmbase.util.XMLBasicReader
          extended byorg.mmbase.util.xml.BuilderReader
              extended byorg.mmbase.util.XMLBuilderReader

public class XMLBuilderReader
extends BuilderReader

Used to parse and retrieve data from a builder configuration file. Code has been moved to BuilderReader. This class functions as a place-holder for backward-compatibility, giving people a chance to rewrite their code to use the new class. It will be removed in a future MMBase release

Version:
$Id: XMLBuilderReader.java,v 1.31 2003/04/11 11:05:49 pierre Exp $
Author:
Case Roole, Rico Jansen, Pierre van Rooden

Field Summary
 
Fields inherited from class org.mmbase.util.xml.BuilderReader
DTD_BUILDER, DTD_BUILDER_1_0, DTD_BUILDER_1_1, PUBLIC_ID_BUILDER, PUBLIC_ID_BUILDER_1_0, PUBLIC_ID_BUILDER_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
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.
 
Methods inherited from class org.mmbase.util.xml.BuilderReader
equals, getBuilderExtends, getBuilderMaintainer, getBuilderVersion, getClassFile, getDescriptions, getFieldDefs, getParentBuilder, getPluralNames, getProperties, getSearchAge, getSingularNames, getStatus, isInheritanceResolved, registerPublicIDs, resolveInheritance, storageEquals
 
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
 

Constructor Detail

XMLBuilderReader

public XMLBuilderReader(java.lang.String filename,
                        MMBase mmb)
Creates an instance by reading a builder configuration (xml) file.

Parameters:
filename - path to the builder configuration file to parse
mmb - The MMBase instance. Used to resolve inheritance of builders
Since:
MMBase-1.6

XMLBuilderReader

public XMLBuilderReader(java.lang.String filename)
Creates an instance by reading a builder configuration (xml) file. A parser created with this constructor does not resolve inheritance, but maintains the activity status as it is set in the file. This call should be used if only the actual information in the xml file is needed.

Parameters:
filename - path to the builder configuration file to parse


MMBase build 1.7.4.20050922