|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
jpicedt.graphic.io.parser.JPICXmlHandler
Content-handler and error-handler for the JPICParser class.
| Field Summary |
| Constructor Summary | |
JPICXmlHandler()
|
|
| Method Summary | |
void |
characters(char[] ch,
int start,
int length)
|
void |
endDocument()
|
void |
endElement(String uri,
String localName,
String qName)
|
void |
error(SAXParseException e)
Receive notification of a recoverable parser error. |
void |
fatalError(SAXParseException e)
Report a fatal XML parsing error. |
Drawing |
fetchParsedDrawing()
Return a new instance of the Drawing class populated from JPIC-XML tags |
void |
setDocumentLocator(Locator locator)
|
void |
startDocument()
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes)
Receive notification of the start of an element. |
void |
warning(SAXParseException e)
|
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JPICXmlHandler()
| Method Detail |
public Drawing fetchParsedDrawing()
public void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlerpublic void startDocument()
startDocument in interface ContentHandlerpublic void endDocument()
endDocument in interface ContentHandler
public void startElement(String uri,
String localName,
String qName,
Attributes attributes)
throws SAXException
startElement in interface ContentHandlerqName - the qName of the processed tag, e.g. "rect", "g",...
SAXException
public void characters(char[] ch,
int start,
int length)
characters in interface ContentHandler
public void endElement(String uri,
String localName,
String qName)
throws SAXException
endElement in interface ContentHandlerSAXException
public void warning(SAXParseException e)
throws SAXException
warning in interface ErrorHandlerSAXException
public void error(SAXParseException e)
throws SAXException
error in interface ErrorHandlerSAXException
public void fatalError(SAXParseException e)
throws SAXException
fatalError in interface ErrorHandlerSAXException
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||