org.freecompany.imp.index
Class Magic
java.lang.Object
org.freecompany.imp.index.Generator
org.freecompany.imp.index.Magic
public class Magic
- extends Generator
Field Summary |
protected javax.xml.xpath.XPath |
path
|
Constructor Summary |
Magic()
|
Method Summary |
protected void |
addType(java.lang.String type,
java.lang.StringBuffer buffer)
|
protected void |
buildBuffer(java.lang.StringBuffer buffer,
java.lang.String value)
|
protected void |
buildDependency(java.lang.String key,
java.lang.String types,
org.w3c.dom.Node element)
|
protected void |
buildIndex(org.w3c.dom.Element element)
|
protected void |
buildPackagingType(org.w3c.dom.Element element)
|
protected void |
buildProject(java.lang.String directory)
|
protected void |
buildTypes(java.lang.StringBuffer buffer,
boolean compile,
boolean test,
boolean run)
|
protected void |
generate(org.w3c.dom.Document document)
Builds the current element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
path
protected javax.xml.xpath.XPath path
Magic
public Magic()
generate
protected void generate(org.w3c.dom.Document document)
throws java.lang.Exception
- Builds the current element. If this element is found to correspond to the key
of the root element, then we act to build all subelements.
- Specified by:
generate
in class Generator
- Throws:
java.lang.Exception
buildProject
protected void buildProject(java.lang.String directory)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildIndex
protected void buildIndex(org.w3c.dom.Element element)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildPackagingType
protected void buildPackagingType(org.w3c.dom.Element element)
throws java.lang.Exception
- Throws:
java.lang.Exception
addType
protected void addType(java.lang.String type,
java.lang.StringBuffer buffer)
buildDependency
protected void buildDependency(java.lang.String key,
java.lang.String types,
org.w3c.dom.Node element)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildTypes
protected void buildTypes(java.lang.StringBuffer buffer,
boolean compile,
boolean test,
boolean run)
buildBuffer
protected void buildBuffer(java.lang.StringBuffer buffer,
java.lang.String value)