org.mmbase.util.xml
Class ModuleReader

java.lang.Object
  extended byorg.mmbase.util.xml.DocumentReader
      extended byorg.mmbase.util.xml.ModuleReader

public class ModuleReader
extends DocumentReader

Since:
MMBase-1.8
Version:
$Id: ModuleReader.java,v 1.3 2005/10/13 12:06:58 michiel Exp $
Author:
Daniel Ockeloen, Pierre van Rooden
Warning: No Java Documentation Available.

Field Summary
static String DTD_MODULE
          DTD resource filename of the most recent Module DTD
static String DTD_MODULE_1_0
          DTD resource filename of the most recent Module DTD
static String PUBLIC_ID_MODULE
          Public ID of the most recent Module DTD
static String PUBLIC_ID_MODULE_1_0
          Public ID of the Module DTD version 1.0
 
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
ModuleReader(Document doc)
           
ModuleReader(InputSource is)
           
 
Method Summary
 String getClassName()
          The name of the class which is implementing this Module.
 String getMaintainer()
          Get the maintainer of this module
 Map getProperties()
          Get the properties of this builder
 String getStatus()
          Get the status of this module
 String getURLString()
          get the optional resource url for the module
 int getVersion()
          Get the version of this module
static void registerPublicIDs()
          Register the Public Ids for DTDs used by ModuleReader This method is called by XMLEntityResolver.
 
Methods inherited from class org.mmbase.util.xml.DocumentReader
appendChild, getAttribute, getChildElements, getChildElements, getChildElements, getChildElements, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getElementAttributeValue, getElementAttributeValue, getElementByPath, getElementByPath, getElementName, getElementValue, getElementValue, getNodeTextValue, getRootElement, getSystemId, hasAttribute, main, setNodeTextValue, setSystemId, toDocument, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PUBLIC_ID_MODULE_1_0

public static final String PUBLIC_ID_MODULE_1_0
Public ID of the Module DTD version 1.0

See Also:
Constant Field Values

PUBLIC_ID_MODULE

public static final String PUBLIC_ID_MODULE
Public ID of the most recent Module DTD

See Also:
Constant Field Values

DTD_MODULE_1_0

public static final String DTD_MODULE_1_0
DTD resource filename of the most recent Module DTD

See Also:
Constant Field Values

DTD_MODULE

public static final String DTD_MODULE
DTD resource filename of the most recent Module DTD

See Also:
Constant Field Values
Constructor Detail

ModuleReader

public ModuleReader(InputSource is)

ModuleReader

public ModuleReader(Document doc)
Since:
MMBase-1.8
Method Detail

registerPublicIDs

public static void registerPublicIDs()
Register the Public Ids for DTDs used by ModuleReader This method is called by XMLEntityResolver.

Since:
MMBase-1.7

getStatus

public String getStatus()
Get the status of this module


getVersion

public int getVersion()
Get the version of this module


getMaintainer

public String getMaintainer()
Get the maintainer of this module


getClassName

public String getClassName()
The name of the class which is implementing this Module.


getURLString

public String getURLString()
get the optional resource url for the module

Returns:
the url of the resource or null if no url was defined

getProperties

public Map getProperties()
Get the properties of this builder



MMBase build 1.8.1.20060716