public class XMLFileQueryInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
VERSION |
static java.lang.String |
XMLTAG |
Constructor and Description |
---|
XMLFileQueryInfo(byte[] data,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo,
byte[] dtd,
boolean verify,
quadbase.common.paramquery.QueryInParamSet inSet) |
XMLFileQueryInfo(byte[] data,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo,
byte[] dtd,
boolean verify,
quadbase.common.paramquery.QueryInParamSet inSet,
java.lang.String dtdTreeFileName) |
XMLFileQueryInfo(java.io.ByteArrayInputStream bstream,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo)
Create a XMLFileQueryInfo object from input stream
|
XMLFileQueryInfo(java.io.ByteArrayInputStream bstream,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo,
quadbase.common.paramquery.QueryInParamSet inSet) |
XMLFileQueryInfo(java.io.ByteArrayInputStream bstream,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo,
java.lang.String dtdName,
boolean verify)
for internal use only
|
XMLFileQueryInfo(java.io.ByteArrayInputStream bstream,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo,
java.lang.String dtdName,
boolean verify,
quadbase.common.paramquery.QueryInParamSet inSet) |
XMLFileQueryInfo(java.io.ByteArrayInputStream bstream,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo,
java.lang.String dtdName,
boolean verify,
quadbase.common.paramquery.QueryInParamSet inSet,
java.lang.String dtdTreeFileName) |
XMLFileQueryInfo(java.io.InputStream datastream,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo,
java.io.InputStream dtdstream,
boolean verify,
quadbase.common.paramquery.QueryInParamSet inSet) |
XMLFileQueryInfo(java.io.InputStream datastream,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo,
java.io.InputStream dtdstream,
boolean verify,
quadbase.common.paramquery.QueryInParamSet inSet,
java.lang.String dtdTreeFileName) |
XMLFileQueryInfo(java.lang.String fileName,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo)
Create a XMLFileQueryInfo object from xml file
|
XMLFileQueryInfo(java.lang.String fileName,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo,
quadbase.common.paramquery.QueryInParamSet inSet) |
XMLFileQueryInfo(java.lang.String fileName,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo,
java.lang.String dtdName,
boolean verify)
for internal use only
|
XMLFileQueryInfo(java.lang.String fileName,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo,
java.lang.String dtdName,
boolean verify,
quadbase.common.paramquery.QueryInParamSet inSet) |
XMLFileQueryInfo(java.lang.String fileName,
XMLFieldInfo[] fieldInfo,
java.lang.String condition,
XMLFieldInfo[] conditionInfo,
java.lang.String dtdName,
boolean verify,
quadbase.common.paramquery.QueryInParamSet inSet,
java.lang.String dtdTreeFileName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCondition()
Returns the condition query string
|
XMLFieldInfo[] |
getConditionInfo()
Returns an array of XMLFieldInfo objects that need for the condition
|
byte[] |
getData()
Returns the byte array contains the data
|
byte[] |
getDTD()
for internal use only
|
java.lang.String |
getDTDName()
for internal use only
|
java.lang.String |
getDTDTreeFileName()
Returns the xml file name
|
XMLFieldInfo[] |
getFieldInfo()
Returns the array of XMLFieldInfo object
|
XMLFieldInfo |
getFieldInfo(java.lang.String pathStr) |
java.lang.String |
getFileName()
Returns the xml file name
|
quadbase.common.util.IQueryInParam[] |
getInParam()
for internal use only
|
quadbase.common.paramquery.QueryInParamSet |
getInSet()
for internal use only
|
quadbase.common.util.IQueryInParam[][] |
getParameterInPromptSequence()
for internal use only
|
boolean |
isVerify()
for internal use only
|
static XMLFileQueryInfo |
read(java.io.DataInput in)
for internal use only
|
static XMLFileQueryInfo |
readXML(org.w3c.dom.Node dnode,
int version)
for internal use only
|
void |
setCondition(java.lang.String cond)
Sets the condition string to filter the resultset
|
void |
setData(byte[] barray)
Sets the data through byte array
|
void |
setDTD(byte[] b)
for internal use only
|
void |
setDTDName(java.lang.String f)
for internal use only
|
void |
setDTDTreeFileName(java.lang.String f)
Sets the xml file name
|
void |
setFieldInfo(XMLFieldInfo[] fields)
Sets the filed infomation
|
void |
setFileName(java.lang.String f)
Sets the xml file name
|
void |
setInSet(quadbase.common.paramquery.QueryInParamSet inSet)
for internal use only
|
void |
setVerify(boolean state)
for internal use only
|
void |
write(java.io.DataOutput out)
for internal use only
|
void |
writeXML(java.io.Writer dout)
for internal use only
|
public static final java.lang.String XMLTAG
public static final int VERSION
public XMLFileQueryInfo(java.lang.String fileName, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo)
fileName
- the xml file namefieldInfo
- an array of XMLFieldInfo objectscondition
- the query string to filter the resultsetconditionInfo
- an array of XMLFieldInfo that contains fields that are defined in the condition
query stringpublic XMLFileQueryInfo(java.lang.String fileName, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo, quadbase.common.paramquery.QueryInParamSet inSet)
public XMLFileQueryInfo(java.lang.String fileName, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo, java.lang.String dtdName, boolean verify)
public XMLFileQueryInfo(java.lang.String fileName, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo, java.lang.String dtdName, boolean verify, quadbase.common.paramquery.QueryInParamSet inSet)
public XMLFileQueryInfo(java.lang.String fileName, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo, java.lang.String dtdName, boolean verify, quadbase.common.paramquery.QueryInParamSet inSet, java.lang.String dtdTreeFileName)
public XMLFileQueryInfo(java.io.ByteArrayInputStream bstream, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo)
bstream
- the input streamfieldInfo
- an array of XMLFieldInfo objectscondition
- the query string to filter the resultsetconditionInfo
- an array of XMLFieldInfo that contains fields that are defined in the condition
query stringpublic XMLFileQueryInfo(java.io.ByteArrayInputStream bstream, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo, quadbase.common.paramquery.QueryInParamSet inSet)
public XMLFileQueryInfo(java.io.ByteArrayInputStream bstream, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo, java.lang.String dtdName, boolean verify)
public XMLFileQueryInfo(java.io.ByteArrayInputStream bstream, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo, java.lang.String dtdName, boolean verify, quadbase.common.paramquery.QueryInParamSet inSet)
public XMLFileQueryInfo(java.io.ByteArrayInputStream bstream, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo, java.lang.String dtdName, boolean verify, quadbase.common.paramquery.QueryInParamSet inSet, java.lang.String dtdTreeFileName)
public XMLFileQueryInfo(java.io.InputStream datastream, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo, java.io.InputStream dtdstream, boolean verify, quadbase.common.paramquery.QueryInParamSet inSet)
public XMLFileQueryInfo(java.io.InputStream datastream, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo, java.io.InputStream dtdstream, boolean verify, quadbase.common.paramquery.QueryInParamSet inSet, java.lang.String dtdTreeFileName)
public XMLFileQueryInfo(byte[] data, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo, byte[] dtd, boolean verify, quadbase.common.paramquery.QueryInParamSet inSet)
public XMLFileQueryInfo(byte[] data, XMLFieldInfo[] fieldInfo, java.lang.String condition, XMLFieldInfo[] conditionInfo, byte[] dtd, boolean verify, quadbase.common.paramquery.QueryInParamSet inSet, java.lang.String dtdTreeFileName)
public java.lang.String getFileName()
public void setFileName(java.lang.String f)
public byte[] getData()
public void setData(byte[] barray)
public XMLFieldInfo[] getFieldInfo()
public void setFieldInfo(XMLFieldInfo[] fields)
fields
- , an array of XMLFieldInfo objectspublic java.lang.String getCondition()
public void setCondition(java.lang.String cond)
public XMLFieldInfo[] getConditionInfo()
public java.lang.String getDTDName()
public void setDTDName(java.lang.String f)
public byte[] getDTD()
public void setDTD(byte[] b)
public boolean isVerify()
public void setVerify(boolean state)
public quadbase.common.paramquery.QueryInParamSet getInSet()
public quadbase.common.util.IQueryInParam[] getInParam()
public quadbase.common.util.IQueryInParam[][] getParameterInPromptSequence()
public void setInSet(quadbase.common.paramquery.QueryInParamSet inSet)
public XMLFieldInfo getFieldInfo(java.lang.String pathStr)
public java.lang.String getDTDTreeFileName()
public void setDTDTreeFileName(java.lang.String f)
public void write(java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static XMLFileQueryInfo read(java.io.DataInput in) throws java.io.IOException
java.io.IOException
public void writeXML(java.io.Writer dout) throws java.io.IOException
java.io.IOException
public static XMLFileQueryInfo readXML(org.w3c.dom.Node dnode, int version) throws java.lang.Exception
java.lang.Exception