|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xml.sax.helpers.DefaultHandler | +--gate.config.ConfigXmlHandler
This is a SAX handler for processing gate.xml
files.
Constructor Summary | |
ConfigXmlHandler(URL configUrl)
Construction |
Method Summary | |
void |
characters(char[] text,
int start,
int length)
Called when the SAX parser encounts text (PCDATA) in the XML doc |
void |
endDocument()
Called when the SAX parser encounts the end of the XML document |
void |
endElement(String uri,
String qName,
String elementName)
Called when the SAX parser encounts the end of an XML element. |
void |
error(org.xml.sax.SAXParseException ex)
Called for parse errors. |
void |
fatalError(org.xml.sax.SAXParseException ex)
Called for fatal errors. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Called when the SAX parser encounts white space |
void |
startDocument()
Called when the SAX parser encounts the beginning of the XML document |
void |
startElement(String uri,
String qName,
String elementName,
org.xml.sax.Attributes atts)
Called when the SAX parser encounts the beginning of an XML element |
void |
warning(org.xml.sax.SAXParseException ex)
Called for warnings. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endPrefixMapping, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConfigXmlHandler(URL configUrl)
Method Detail |
public void startDocument() throws GateSaxException
startDocument
in interface org.xml.sax.ContentHandler
startDocument
in class org.xml.sax.helpers.DefaultHandler
GateSaxException
public void endDocument() throws GateSaxException
endDocument
in interface org.xml.sax.ContentHandler
endDocument
in class org.xml.sax.helpers.DefaultHandler
GateSaxException
public void startElement(String uri, String qName, String elementName, org.xml.sax.Attributes atts)
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
public void endElement(String uri, String qName, String elementName) throws GateSaxException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
GateSaxException
public void characters(char[] text, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws org.xml.sax.SAXException
ignorableWhitespace
in interface org.xml.sax.ContentHandler
ignorableWhitespace
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void error(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
error
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
fatalError
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void warning(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
warning
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |