org.freecompany.imp.index

Class Magic

public class Magic extends Generator

Field Summary
protected XPathpath
Method Summary
protected voidaddType(String type, StringBuffer buffer)
protected voidbuildBuffer(StringBuffer buffer, String value)
protected voidbuildDependency(String key, String types, Node element)
protected voidbuildIndex(Element element)
protected voidbuildPackagingType(Element element)
protected voidbuildProject(String directory)
protected voidbuildTypes(StringBuffer buffer, boolean compile, boolean test, boolean run)
protected voidgenerate(Document document)
Builds the current element.

Field Detail

path

protected XPath path

Method Detail

addType

protected void addType(String type, StringBuffer buffer)

buildBuffer

protected void buildBuffer(StringBuffer buffer, String value)

buildDependency

protected void buildDependency(String key, String types, Node element)

buildIndex

protected void buildIndex(Element element)

buildPackagingType

protected void buildPackagingType(Element element)

buildProject

protected void buildProject(String directory)

buildTypes

protected void buildTypes(StringBuffer buffer, boolean compile, boolean test, boolean run)

generate

protected void generate(Document document)
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.