public class CqlParser extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
CqlParser()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] buf,
int offset,
int len)
Receive notification of character data inside an element.
|
String |
doCQL2MetasearchCommand(String cqlSearchQuery)
Converts a CQL-formatted search query into a format that 360 Search
can understand.
|
void |
endElement(String namespaceURI,
String sName,
String qName)
Receive notification of the end of an element.
|
static void |
main(String[] args)
Main(): test
|
void |
startElement(String namespaceURI,
String sName,
String qName,
Attributes attrs)
Receive notification of the beginning of an element.
|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic String doCQL2MetasearchCommand(String cqlSearchQuery)
cqlSearchQuery - CQL-formatted search query.org.z3950.zing.cql.CQLNode.toXCQL()public void startElement(String namespaceURI, String sName, String qName, Attributes attrs) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionDefaultHandlerpublic void endElement(String namespaceURI, String sName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionDefaultHandlerpublic void characters(char[] buf,
int offset,
int len)
throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerSAXExceptionDefaultHandlerpublic static void main(String[] args)
Copyright © 2004–2018 Indiana University Library Information Technology. All rights reserved.