net.sourceforge.cathcart
Class TaskParser
java.lang.Object
net.sourceforge.cathcart.TaskParser
public class TaskParser
- extends Object
Parses an xml configuration file for information on valid tasks and
properties.
- Author:
- Steven Hale
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URL
public static final String URL
- See Also:
- Constant Field Values
TaskParser
public TaskParser(InputStream stream,
DocumentBuilderFactory factory)
parse
public Document parse()
getTools
public List<Element> getTools(Document doc)
getTool
public Element getTool(String toolName,
Document doc)
getXsl
public String getXsl(String toolName)
getPropertyTypes
protected Map<String,PropertyType> getPropertyTypes(Element tool)
printList
public StringBuffer printList(Collection<String> items,
boolean italics)
print
public String print(Document doc)
getPropertyTypes
public Map<String,PropertyType> getPropertyTypes(Document doc,
String toolName)
Copyright © 2010. All Rights Reserved.