| java.lang.Object org.apache.tools.ant.ProjectHelper org.apache.tools.ant.helper.ProjectHelper2
ProjectHelper2 | public class ProjectHelper2 extends ProjectHelper (Code) | | Sax2 based project reader
|
Inner Class :public static class AntHandler | |
Inner Class :public static class MainHandler extends AntHandler | |
Inner Class :public static class ProjectHandler extends AntHandler | |
Inner Class :public static class TargetHandler extends AntHandler | |
Inner Class :public static class ElementHandler extends AntHandler | |
getElementHandler | protected static AntHandler getElementHandler()(Code) | | Returns element handler
element handler |
getMainHandler | protected static AntHandler getMainHandler()(Code) | | Returns main handler
main handler |
getProjectHandler | protected static AntHandler getProjectHandler()(Code) | | Returns project handler
project handler |
getTargetHandler | protected static AntHandler getTargetHandler()(Code) | | Returns target handler
target handler |
parse | public void parse(Project project, Object source, RootHandler handler) throws BuildException(Code) | | Parses the project file, configuring the project as it goes.
Parameters: project - the current project Parameters: source - the xml source Parameters: handler - the root handler to use (contains the current context) exception: BuildException - if the configuration is invalid or cannotbe read |
parseUnknownElement | public UnknownElement parseUnknownElement(Project project, URL source) throws BuildException(Code) | | Parse an unknown element from a url
Parameters: project - the current project Parameters: source - the url containing the task a configured task exception: BuildException - if an error occurs |
setElementHandler | protected static void setElementHandler(AntHandler handler)(Code) | | Sets element handler
Parameters: handler - new element handler |
setMainHandler | protected static void setMainHandler(AntHandler handler)(Code) | | Sets main handler
Parameters: handler - new main handler |
setProjectHandler | protected static void setProjectHandler(AntHandler handler)(Code) | | Sets project handler
Parameters: handler - new project handler |
setTargetHandler | protected static void setTargetHandler(AntHandler handler)(Code) | | Sets target handler
Parameters: handler - new target handler |
Methods inherited from org.apache.tools.ant.ProjectHelper | public static BuildException addLocationToBuildException(BuildException ex, Location newLocation)(Code)(Java Doc) public static void addText(Project project, Object target, char[] buf, int start, int count) throws BuildException(Code)(Java Doc) public static void addText(Project project, Object target, String text) throws BuildException(Code)(Java Doc) public static void configure(Object target, AttributeList attrs, Project project) throws BuildException(Code)(Java Doc) public static void configureProject(Project project, File buildFile) throws BuildException(Code)(Java Doc) public static String extractNameFromComponentName(String componentName)(Code)(Java Doc) public static String extractUriFromComponentName(String componentName)(Code)(Java Doc) public static String genComponentName(String uri, String name)(Code)(Java Doc) public static ClassLoader getContextClassLoader()(Code)(Java Doc) public Vector getImportStack()(Code)(Java Doc) public static ProjectHelper getProjectHelper() throws BuildException(Code)(Java Doc) public void parse(Project project, Object source) throws BuildException(Code)(Java Doc) public static void parsePropertyString(String value, Vector fragments, Vector propertyRefs) throws BuildException(Code)(Java Doc) public static String replaceProperties(Project project, String value) throws BuildException(Code)(Java Doc) public static String replaceProperties(Project project, String value, Hashtable keys) throws BuildException(Code)(Java Doc) public static void storeChild(Project project, Object parent, Object child, String tag)(Code)(Java Doc)
|
|
|