java.lang.Object
org.mitre.cvw.util.XmlSimpleSQL
- public class XmlSimpleSQL
- extends java.lang.Object
Represents a simple SQL query (using only SELECT, FROM, WHERE) and result
- Version:
- 1.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resultSet
private java.util.Vector resultSet
selects
private java.lang.String selects
as
private org.mitre.cvw.docserv.AttributeSignature as
selectType
private int selectType
table
private java.lang.String table
wheres
private java.util.Hashtable wheres
dbquery
private boolean dbquery
query
private boolean query
result
private boolean result
record
private boolean record
currentRecord
private java.util.Hashtable currentRecord
elementName
private java.lang.String elementName
columnName
private java.lang.String columnName
prolog
private static final java.lang.String prolog
- See Also:
- Constant Field Values
XmlSimpleSQL
public XmlSimpleSQL(java.lang.String selectItem,
int type,
java.lang.String tableItem,
java.util.Hashtable whereItems)
XmlSimpleSQL
public XmlSimpleSQL(org.mitre.cvw.docserv.AttributeSignature selectItems,
java.lang.String tableItem,
java.util.Hashtable whereItems)
XmlSimpleSQL
public XmlSimpleSQL()
load
public void load(java.io.InputStream in)
throws java.io.IOException
- Reads an XML formatted history document from an input stream.
add
public void add(java.lang.String entry)
getResults
public java.util.Vector getResults()
getDataType
public int getDataType()
getSelect
public java.lang.String getSelect()
getTable
public java.lang.String getTable()
getWheres
public java.util.Hashtable getWheres()
startDocument
public void startDocument()
throws java.io.IOException
endDocument
public void endDocument()
throws java.io.IOException
startElement
public void startElement(StartElementEvent event)
throws java.io.IOException
characterData
public void characterData(CharacterDataEvent event)
throws java.io.IOException
endElement
public void endElement(EndElementEvent event)
throws java.io.IOException
processingInstruction
public void processingInstruction(ProcessingInstructionEvent pi)
throws java.io.IOException
endProlog
public void endProlog(EndPrologEvent event)
throws java.io.IOException
comment
public void comment(CommentEvent event)
throws java.io.IOException
startCdataSection
public void startCdataSection(StartCdataSectionEvent event)
throws java.io.IOException
endCdataSection
public void endCdataSection(EndCdataSectionEvent event)
throws java.io.IOException
startEntityReference
public void startEntityReference(StartEntityReferenceEvent event)
throws java.io.IOException
endEntityReference
public void endEntityReference(EndEntityReferenceEvent event)
throws java.io.IOException
startDocumentTypeDeclaration
public void startDocumentTypeDeclaration(StartDocumentTypeDeclarationEvent event)
throws java.io.IOException
endDocumentTypeDeclaration
public void endDocumentTypeDeclaration(EndDocumentTypeDeclarationEvent event)
throws java.io.IOException
markupDeclaration
public void markupDeclaration(MarkupDeclarationEvent event)
throws java.io.IOException
store
public void store(java.io.OutputStream out,
java.lang.String title)
throws java.io.IOException
- Writes the values stored within this class to an output stream