|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectantsnest.io.TaskExtensionModelParser
public class TaskExtensionModelParser
Parser used to generate SAX events to create the Ant Task-Extension Model
| Constructor Summary | |
|---|---|
TaskExtensionModelParser(AntInfo antInfo)
Constructs the parser |
|
| Method Summary | |
|---|---|
ContentHandler |
getContentHandler()
Gets the content handler |
DTDHandler |
getDTDHandler()
Return the current DTD handler. |
EntityResolver |
getEntityResolver()
Return the current entity resolver. |
ErrorHandler |
getErrorHandler()
Returns null as an error handler |
boolean |
getFeature(String name)
Look up the value of a feature. |
Object |
getProperty(String name)
Gets only the lexical handler |
void |
parse(InputSource nullSource)
Parses the node |
void |
parse(String systemId)
Parse an XML document from a system identifier (URI). |
void |
setContentHandler(ContentHandler handler)
Sets a content handler |
void |
setDTDHandler(DTDHandler handler)
Allow an application to register a DTD event handler. |
void |
setEntityResolver(EntityResolver resolver)
Allow an application to register an entity resolver. |
void |
setErrorHandler(ErrorHandler errorHandler)
Takes an error handler but never sets it |
void |
setFeature(String name,
boolean value)
Set the state of a feature. |
void |
setProperty(String name,
Object value)
Used to get the lexical handler needed to record comments in the project |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskExtensionModelParser(AntInfo antInfo)
antInfo - the information object to extract from| Method Detail |
|---|
public void parse(InputSource nullSource)
throws SAXException
parse in interface XMLReadernullSource - an InputSource that is empty because its only use is to call this method
SAXException - if there's a problem parsing the nodepublic void setContentHandler(ContentHandler handler)
setContentHandler in interface XMLReaderhandler - the content handlerpublic ContentHandler getContentHandler()
getContentHandler in interface XMLReaderpublic void setErrorHandler(ErrorHandler errorHandler)
setErrorHandler in interface XMLReadererrorHandler - the error handlerpublic ErrorHandler getErrorHandler()
getErrorHandler in interface XMLReader
public void parse(String systemId)
throws IOException,
SAXException
parse in interface XMLReaderIOException
SAXExceptionpublic DTDHandler getDTDHandler()
getDTDHandler in interface XMLReaderpublic EntityResolver getEntityResolver()
getEntityResolver in interface XMLReaderpublic void setEntityResolver(EntityResolver resolver)
setEntityResolver in interface XMLReaderpublic void setDTDHandler(DTDHandler handler)
setDTDHandler in interface XMLReaderpublic Object getProperty(String name)
getProperty in interface XMLReadername - only gets the lexical handler
public void setProperty(String name,
Object value)
setProperty in interface XMLReadername - the name of the propertyvalue - the lexical handler in this case
public void setFeature(String name,
boolean value)
setFeature in interface XMLReaderpublic boolean getFeature(String name)
getFeature in interface XMLReader
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||