org.mmbase.util.magicfile
Class MagicXMLReader
java.lang.Object
org.mmbase.util.xml.DocumentReader
org.mmbase.util.magicfile.MagicXMLReader
- All Implemented Interfaces:
- DetectorProvider
public class MagicXMLReader
- extends DocumentReader
- implements DetectorProvider
Reads /magic.xml
| 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 |
MAGICXMLFILE
protected static final String MAGICXMLFILE
- See Also:
- Constant Field Values
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
MMBase2 Utils 2.0-SNAPSHOT - 2013-05-29T22:03