|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.DefaultHandler org.omg.lsae.sax.EventParser
public class EventParser
Field Summary |
---|
Fields inherited from interface org.omg.lsae.sax.LsaeTags |
---|
aCOMPLETED_STEPS, aNEW_STATE, aPERCENTAGE, aPREV_STATE, aREMAINING, aTOTAL_STEPS, HEARTBEAT, MSG, PERCENT, STATE, STEP, TIME |
Constructor Summary | |
---|---|
EventParser()
|
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
Called for #PCDATA. |
void |
endDocument()
Called at the end of the parsed document. |
void |
endElement(String namespaceURI,
String name,
String qName)
Called when an element ends. |
AnalysisEvent[] |
parse(InputStream xml)
Parse the contents coming from the given input stream. |
AnalysisEvent[] |
parse(Reader xmlReader)
Parse the contents coming from the given reader. |
AnalysisEvent[] |
parse(String xmlFilename)
Parse the contents of the given file. |
void |
setDocumentLocator(Locator l)
Set document locator. |
void |
startDocument()
Called at the beginning of the parsed document. |
void |
startElement(String namespaceURI,
String name,
String qName,
Attributes attrs)
Called when an element starts. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventParser()
Method Detail |
---|
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class DefaultHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class DefaultHandler
SAXException
public void startElement(String namespaceURI, String name, String qName, Attributes attrs) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String namespaceURI, String name, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void setDocumentLocator(Locator l)
setDocumentLocator
in interface ContentHandler
setDocumentLocator
in class DefaultHandler
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
public AnalysisEvent[] parse(String xmlFilename) throws MobyException
MobyException
public AnalysisEvent[] parse(InputStream xml) throws MobyException
MobyException
public AnalysisEvent[] parse(Reader xmlReader) throws MobyException
MobyException
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |