fccsc.manager.data.xml
Class ErrorHandler
java.lang.Object
|
+--org.xml.sax.HandlerBase
|
+--intarsys.xml.handler.XMLHandler
|
+--fccsc.manager.data.xml.ErrorHandler
- All Implemented Interfaces:
- org.xml.sax.DocumentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
- public final class ErrorHandler
- extends intarsys.xml.handler.XMLHandler
This is an object used to process an Error message with
the following XML structure:
]>
...
- Version:
- 1.0
- Author:
- Tony Blanco
Method Summary |
void |
endElement(java.lang.String name)
This is a handler method that is automatically called by the SAX parser. |
java.lang.String |
getStatus()
|
boolean |
isErrorMessage()
|
void |
startElement(java.lang.String name,
org.xml.sax.AttributeList attr)
This is a handler method that is automatically called by the SAX parser. |
Methods inherited from class intarsys.xml.handler.XMLHandler |
characters, clearElementValue, getAttribute, getElementValue |
Methods inherited from class org.xml.sax.HandlerBase |
endDocument, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, startDocument, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorHandler
public ErrorHandler()
getStatus
public java.lang.String getStatus()
isErrorMessage
public boolean isErrorMessage()
startElement
public void startElement(java.lang.String name,
org.xml.sax.AttributeList attr)
- This is a handler method that is automatically called by the SAX parser.
This method parses the starting of XML tags.
This method would never be used explicitly by a programmer.
- Specified by:
startElement
in interface org.xml.sax.DocumentHandler
- Overrides:
startElement
in class intarsys.xml.handler.XMLHandler
endElement
public void endElement(java.lang.String name)
- This is a handler method that is automatically called by the SAX parser.
This method parses the ending of XML tags.
This method would never be used explicitly by a programmer.
- Specified by:
endElement
in interface org.xml.sax.DocumentHandler
- Overrides:
endElement
in class intarsys.xml.handler.XMLHandler