|
Known-Items Task Evaluation | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--org.xml.sax.helpers.DefaultHandler
|
+--xmlContentHandler
A class that extends DefaultHandler classes of Java Xml SAX API. This class is used to get Xml data from the Xml parser and return them in defined formats (Hastable, Segmentation instances...).
| Constructor Summary | |
xmlContentHandler(java.io.Writer out,
int maxAllowedItems)
Constructs an instance of this class with the given Writer as the output writer used to get information during parsing... |
|
| Method Summary | |
void |
characters(char[] buf,
int offset,
int len)
SAX DocumentHandler method. |
void |
endDocument()
SAX DocumentHandler method. |
void |
endElement(java.lang.String namespaceURI,
java.lang.String sName,
java.lang.String qName)
SAX DocumentHandler method. |
void |
error(org.xml.sax.SAXParseException e)
SAX ErrorHandler method. |
RefSegmentation |
getRefSegmentation()
Returns the reference known-items parsed from one Xml file per topic in the reference. |
java.util.Hashtable |
getSystemResults()
Returns the systemResults parsed and contained in an Hashtable. |
void |
ignorableWhitespace(char[] buf,
int offset,
int len)
SAX DocumentHandler method. |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
SAX DocumentHandler method. |
void |
setDocumentLocator(org.xml.sax.Locator l)
SAX DocumentHandler method. |
void |
startDocument()
SAX DocumentHandler method. |
void |
startElement(java.lang.String namespaceURI,
java.lang.String lName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
SAX DocumentHandler method used to recognized Xml tags and get the information in the required Hashtable or any data structure for later use. |
void |
warning(org.xml.sax.SAXParseException err)
SAX ErrorHandler method. |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endPrefixMapping, fatalError, notationDecl, 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 xmlContentHandler(java.io.Writer out,
int maxAllowedItems)
| Method Detail |
public RefSegmentation getRefSegmentation()
public java.util.Hashtable getSystemResults()
public void setDocumentLocator(org.xml.sax.Locator l)
setDocumentLocator in class org.xml.sax.helpers.DefaultHandler
public void startDocument()
throws org.xml.sax.SAXException
startDocument in class org.xml.sax.helpers.DefaultHandler
public void endDocument()
throws org.xml.sax.SAXException
endDocument in class org.xml.sax.helpers.DefaultHandler
public void startElement(java.lang.String namespaceURI,
java.lang.String lName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
startElement in class org.xml.sax.helpers.DefaultHandler
public void endElement(java.lang.String namespaceURI,
java.lang.String sName,
java.lang.String qName)
throws org.xml.sax.SAXException
endElement in class org.xml.sax.helpers.DefaultHandler
public void characters(char[] buf,
int offset,
int len)
throws org.xml.sax.SAXException
characters in class org.xml.sax.helpers.DefaultHandler
public void ignorableWhitespace(char[] buf,
int offset,
int len)
throws org.xml.sax.SAXException
ignorableWhitespace in class org.xml.sax.helpers.DefaultHandler
public void processingInstruction(java.lang.String target,
java.lang.String data)
throws org.xml.sax.SAXException
processingInstruction in class org.xml.sax.helpers.DefaultHandler
public void error(org.xml.sax.SAXParseException e)
throws org.xml.sax.SAXParseException
error in class org.xml.sax.helpers.DefaultHandler
public void warning(org.xml.sax.SAXParseException err)
throws org.xml.sax.SAXParseException
warning in class org.xml.sax.helpers.DefaultHandler
|
Known-Items Task Evaluation | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||