| |
|
| java.lang.Object de.schlund.pfixcore.util.DumpText
Method Summary | |
public void | addRootNodeAtributes(Element root) Overwrite this method to add more attributes to the root node (the dumpincludeparts tag). | public void | generateList(String depend) generateList iterates over all includes. | public boolean | includePartOK(AuxDependencyInclude aux) The method includePartOK can be overridden in derived classes to
select based on the include part given as input if this part should be dumped or not.
The default implementation just returns true. | public static void | main(String[] args) | public static String | md5ForNode(Node root) | public String | retrieveTheme(AuxDependencyInclude aux) The method retrieveTheme can be overridden to decide which theme
to use in the declaration of the dumped content (this is important so you can
change the theme from the current one to another for the import process).
The default implementation returns aux.getTheme(). |
addRootNodeAtributes | public void addRootNodeAtributes(Element root)(Code) | | Overwrite this method to add more attributes to the root node (the dumpincludeparts tag).
Typically used for adding more xmlns:xxx attributes.
Parameters: root - |
generateList | public void generateList(String depend) throws Exception(Code) | | generateList iterates over all includes. It will dump all the include parts
that are used in the referenced project (which is identified by the given depend.xml file)
into the output file "dump.xml".
Parameters: depend - a String referencing the depend.xml file to process exception: Exception - if an error occurs |
includePartOK | public boolean includePartOK(AuxDependencyInclude aux)(Code) | | The method includePartOK can be overridden in derived classes to
select based on the include part given as input if this part should be dumped or not.
The default implementation just returns true.
Parameters: aux - - The AuxDependencyInclude to check true, if the include part should be dunped, false if otherwise |
retrieveTheme | public String retrieveTheme(AuxDependencyInclude aux)(Code) | | The method retrieveTheme can be overridden to decide which theme
to use in the declaration of the dumped content (this is important so you can
change the theme from the current one to another for the import process).
The default implementation returns aux.getTheme().
Parameters: aux - the String to be used in the theme attribute of the dumped |
|
|
|