org.mmbase.util.xml.applicationdata
Class ApplicationReader

Package class diagram package ApplicationReader
java.lang.Object
  extended by org.mmbase.util.xml.DocumentReader
      extended by org.mmbase.util.xml.applicationdata.ApplicationReader

public class ApplicationReader
extends DocumentReader

Version:
$Id: ApplicationReader.java 43455 2010-09-24 15:29:51Z michiel $
Author:
Case Roole, Rico Jansen, Pierre van Rooden
Javadoc:

Field Summary
static String DTD_APPLICATION
          DTD resource filename of the most Application DTD
static String DTD_APPLICATION_1_0
          DTD resource filename of the Application DTD version 1.0
static String DTD_APPLICATION_1_1
          DTD resource filename of the Application DTD version 1.1
static String PUBLIC_ID_APPLICATION
          Public ID of the most recent Application DTD
static String PUBLIC_ID_APPLICATION_1_0
          Public ID of the Application DTD version 1.0
static String PUBLIC_ID_APPLICATION_1_1
          Public ID of the Application DTD version 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
ApplicationReader(Document doc)
           
ApplicationReader(InputSource is)
           
 
Method Summary
 Map<Integer,? extends Runnable> getAfterDeployment()
           
 List<Map<String,String>> getAllowedRelations()
          Get allowed relations for this application
 List<Map<String,String>> getContextSources()
          contextsources attached to this application
 List<Map<String,String>> getDataSources()
          Get datasources attached to this application
 String getDescription()
          Get the description for this application
 String getInstallNotice()
          Get the installation notices for this application
 String getMaintainer()
          Get the maintainer of this application
 String getName()
          Get the name of this application
 List<Map<String,String>> getNeededBuilders()
          Get the Builders needed for this application
 List<Map<String,String>> getNeededRelDefs()
          Get the RelDefs needed for this application
 List<Map<String,String>> getRelationSources()
          Get relationsources attached to this application
 List<Map<String,String>> getRequirements()
          Get the applicationlist required by this application
 int getVersion()
          Get the version of this application
 boolean hasAutoDeploy()
          Get the auto-deploy value of this application
static void registerPublicIDs()
          Register the Public Ids for DTDs used by ApplicationReader This method is called by XMLEntityResolve
 
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, 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

PUBLIC_ID_APPLICATION_1_0

public static final String PUBLIC_ID_APPLICATION_1_0
Public ID of the Application DTD version 1.0

See Also:
Constant Field Values

PUBLIC_ID_APPLICATION_1_1

public static final String PUBLIC_ID_APPLICATION_1_1
Public ID of the Application DTD version 1.1

See Also:
Constant Field Values

DTD_APPLICATION_1_0

public static final String DTD_APPLICATION_1_0
DTD resource filename of the Application DTD version 1.0

See Also:
Constant Field Values

DTD_APPLICATION_1_1

public static final String DTD_APPLICATION_1_1
DTD resource filename of the Application DTD version 1.1

See Also:
Constant Field Values

PUBLIC_ID_APPLICATION

public static final String PUBLIC_ID_APPLICATION
Public ID of the most recent Application DTD

See Also:
Constant Field Values

DTD_APPLICATION

public static final String DTD_APPLICATION
DTD resource filename of the most Application DTD

See Also:
Constant Field Values
Constructor Detail

ApplicationReader

public ApplicationReader(InputSource is)

ApplicationReader

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

registerPublicIDs

public static void registerPublicIDs()
Register the Public Ids for DTDs used by ApplicationReader This method is called by XMLEntityResolve

Since:
MMBase-1.7

getName

public String getName()
Get the name of this application


getVersion

public int getVersion()
Get the version of this application


hasAutoDeploy

public boolean hasAutoDeploy()
Get the auto-deploy value of this application


getMaintainer

public String getMaintainer()
Get the maintainer of this application


getRequirements

public List<Map<String,String>> getRequirements()
Get the applicationlist required by this application

Since:
MMBase-1.7

getNeededBuilders

public List<Map<String,String>> getNeededBuilders()
Get the Builders needed for this application


getNeededRelDefs

public List<Map<String,String>> getNeededRelDefs()
Get the RelDefs needed for this application


getAllowedRelations

public List<Map<String,String>> getAllowedRelations()
Get allowed relations for this application


getDataSources

public List<Map<String,String>> getDataSources()
Get datasources attached to this application


getRelationSources

public List<Map<String,String>> getRelationSources()
Get relationsources attached to this application


getContextSources

public List<Map<String,String>> getContextSources()
contextsources attached to this application


getAfterDeployment

public Map<Integer,? extends Runnable> getAfterDeployment()
Since:
MMBase-1.9.2

getInstallNotice

public String getInstallNotice()
Get the installation notices for this application


getDescription

public String getDescription()
Get the description for this application



MMBase2 Core 2.0-SNAPSHOT - 2014-09-22T23:08