org.mmbase.util.magicfile
Class MagicXMLReader

java.lang.Object
  extended by org.mmbase.util.xml.DocumentReader
      extended by org.mmbase.util.magicfile.MagicXMLReader
All Implemented Interfaces:
DetectorProvider

public class MagicXMLReader
extends DocumentReader
implements DetectorProvider

Reads /magic.xml


Field Summary
protected static String MAGICXMLFILE
           
 
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
 
Method Summary
 String getAuthor()
           
 String getDescription()
           
 List<Detector> getDetectors()
          Returns all 'Detectors'.
static DetectorProvider getInstance()
          Gets the one MagicXMLReader (there can only be one).
 String getVersion()
           
 
Methods inherited from class org.mmbase.util.xml.DocumentReader
appendChild, getAttribute, getChildElements, getChildElements, getChildElements, getChildElements, getDocument, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getElementAttributeValue, getElementAttributeValue, getElementByPath, getElementByPath, getElementName, getElementValue, getElementValue, getNodeTextValue, getNodeTextValue, getRootElement, getSystemId, hasAttribute, main, registerPublicIDs, setNodeTextValue, setPrefix, setSystemId, toDocument, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAGICXMLFILE

protected static final String MAGICXMLFILE
See Also:
Constant Field Values
Method Detail

getInstance

public static DetectorProvider getInstance()
Gets the one MagicXMLReader (there can only be one).

Returns:
MagicXMLReader if mmbase was staterd or null if mmbase was not started

getVersion

public String getVersion()

getAuthor

public String getAuthor()

getDescription

public String getDescription()

getDetectors

public List<Detector> getDetectors()
Returns all 'Detectors'.

Specified by:
getDetectors in interface DetectorProvider


MMBase 2.0-SNAPSHOT - null