Class ProjectHelper2.MainHandler
java.lang.Object
org.apache.tools.ant.helper.ProjectHelper2.AntHandler
org.apache.tools.ant.helper.ProjectHelper2.MainHandler
- Enclosing class:
ProjectHelper2
The main handler - it handles the <project> tag.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiononStartChild(String uri, String name, String qname, Attributes attrs, AntXMLContext context) Handle the project tagMethods inherited from class ProjectHelper2.AntHandler
characters, checkNamespace, onEndChild, onEndElement, onStartElementModifier and TypeMethodDescriptionvoidcharacters(char[] buf, int start, int count, AntXMLContext context) Handles text within an element.protected voidcheckNamespace(String uri) Will be called every time a namespace is reached.voidonEndChild(String uri, String tag, String qname, AntXMLContext context) Handle the end of a element.voidonEndElement(String uri, String tag, AntXMLContext context) This method is called when this element and all elements nested into it have been handled.voidonStartElement(String uri, String tag, String qname, Attributes attrs, AntXMLContext context) Handles the start of an element.
-
Constructor Details
-
MainHandler
public MainHandler()
-
-
Method Details
-
onStartChild
public ProjectHelper2.AntHandler onStartChild(String uri, String name, String qname, Attributes attrs, AntXMLContext context) throws SAXParseException Handle the project tag- Overrides:
onStartChildin classProjectHelper2.AntHandler- Parameters:
uri- The namespace uri.name- The element tag.qname- The element qualified name.attrs- The attributes of the element.context- The current context.- Returns:
- The project handler that handles subelements of project
- Throws:
SAXParseException- if the qualified name is not "project".
-