|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
xml.fixJJL.FixDataHandler
public class FixDataHandler
FixDataHandler is a
that can parse CBOE file saved from Exel
Constructor Summary | |
---|---|
FixDataHandler()
|
Method Summary | |
---|---|
void |
addCboeRec()
|
void |
characters(char[] buf,
int offset,
int len)
when characters are found, we add them to the string vector for latter use. |
void |
endElement(java.lang.String s1,
java.lang.String s2,
java.lang.String name)
|
Cboe |
getCboe()
|
java.lang.String |
getLastValue()
|
void |
ignorableWhitespace(char[] buf,
int offset,
int len)
|
void |
incDataField()
|
void |
incRowNum()
When we get the tag, then we want to invoke addProduct otherwise, just return: |
static void |
main(java.lang.String[] args)
when characters are found, we add them to the string vector for latter use. |
java.lang.String |
popLastValue()
|
void |
processingInstruction(java.lang.String target,
java.lang.String data)
The processingInstruction is called back when a non XML declaration is made. |
void |
startElement()
The Locator instance must be used locally to identify the origin of a SAX event. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
endDocument, endPrefixMapping, error, fatalError, notationDecl, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixDataHandler()
Method Detail |
---|
public Cboe getCboe()
public void startElement()
public void incRowNum()
public void incDataField()
public void addCboeRec()
public void characters(char[] buf, int offset, int len)
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
public void ignorableWhitespace(char[] buf, int offset, int len)
ignorableWhitespace
in interface org.xml.sax.ContentHandler
ignorableWhitespace
in class org.xml.sax.helpers.DefaultHandler
public void processingInstruction(java.lang.String target, java.lang.String data)
processingInstruction
in interface org.xml.sax.ContentHandler
processingInstruction
in class org.xml.sax.helpers.DefaultHandler
public java.lang.String popLastValue()
public java.lang.String getLastValue()
public void endElement(java.lang.String s1, java.lang.String s2, java.lang.String name)
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |