org.mmbase.util.magicfile
Class MagicXMLReader

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

public class MagicXMLReader
extends XMLBasicReader
implements DetectorProvider

Reads /magic.xml


Field Summary
protected static java.lang.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
 java.lang.String getAuthor()
           
 java.lang.String getDescription()
           
 java.util.List getDetectors()
          Returns all 'Detectors'.
static MagicXMLReader getInstance()
          Gets the one MagicXMLReader (there can only be one).
 java.lang.String getVersion()
           
 
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, registerPublicIDs, 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 java.lang.String MAGICXMLFILE
See Also:
Constant Field Values
Method Detail

getInstance

public static MagicXMLReader 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 java.lang.String getVersion()

getAuthor

public java.lang.String getAuthor()

getDescription

public java.lang.String getDescription()

getDetectors

public java.util.List getDetectors()
Returns all 'Detectors'.

Specified by:
getDetectors in interface DetectorProvider


MMBase build 1.7.1.20041002