EspressReport 6.6

quadbase.common.util.internal
Class XMLFileQueryInfo

java.lang.Object
  extended by quadbase.common.util.internal.XMLFileQueryInfo

public class XMLFileQueryInfo
extends java.lang.Object


Field Summary
static int VERSION
           
static java.lang.String XMLTAG
           
 
Constructor Summary
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)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XMLTAG

public static final java.lang.String XMLTAG
See Also:
Constant Field Values

VERSION

public static final int VERSION
See Also:
Constant Field Values
Constructor Detail

XMLFileQueryInfo

public XMLFileQueryInfo(java.lang.String fileName,
                        XMLFieldInfo[] fieldInfo,
                        java.lang.String condition,
                        XMLFieldInfo[] conditionInfo)
Create a XMLFileQueryInfo object from xml file

Parameters:
fileName - the xml file name
fieldInfo - an array of XMLFieldInfo objects
condition - the query string to filter the resultset
conditionInfo - an array of XMLFieldInfo that contains fields that are defined in the condition query string

XMLFileQueryInfo

public XMLFileQueryInfo(java.lang.String fileName,
                        XMLFieldInfo[] fieldInfo,
                        java.lang.String condition,
                        XMLFieldInfo[] conditionInfo,
                        quadbase.common.paramquery.QueryInParamSet inSet)

XMLFileQueryInfo

public XMLFileQueryInfo(java.lang.String fileName,
                        XMLFieldInfo[] fieldInfo,
                        java.lang.String condition,
                        XMLFieldInfo[] conditionInfo,
                        java.lang.String dtdName,
                        boolean verify)
for internal use only


XMLFileQueryInfo

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)

XMLFileQueryInfo

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)

XMLFileQueryInfo

public XMLFileQueryInfo(java.io.ByteArrayInputStream bstream,
                        XMLFieldInfo[] fieldInfo,
                        java.lang.String condition,
                        XMLFieldInfo[] conditionInfo)
Create a XMLFileQueryInfo object from input stream

Parameters:
bstream - the input stream
fieldInfo - an array of XMLFieldInfo objects
condition - the query string to filter the resultset
conditionInfo - an array of XMLFieldInfo that contains fields that are defined in the condition query string

XMLFileQueryInfo

public XMLFileQueryInfo(java.io.ByteArrayInputStream bstream,
                        XMLFieldInfo[] fieldInfo,
                        java.lang.String condition,
                        XMLFieldInfo[] conditionInfo,
                        quadbase.common.paramquery.QueryInParamSet inSet)

XMLFileQueryInfo

public XMLFileQueryInfo(java.io.ByteArrayInputStream bstream,
                        XMLFieldInfo[] fieldInfo,
                        java.lang.String condition,
                        XMLFieldInfo[] conditionInfo,
                        java.lang.String dtdName,
                        boolean verify)
for internal use only


XMLFileQueryInfo

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)

XMLFileQueryInfo

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)

XMLFileQueryInfo

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)

XMLFileQueryInfo

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)

XMLFileQueryInfo

public XMLFileQueryInfo(byte[] data,
                        XMLFieldInfo[] fieldInfo,
                        java.lang.String condition,
                        XMLFieldInfo[] conditionInfo,
                        byte[] dtd,
                        boolean verify,
                        quadbase.common.paramquery.QueryInParamSet inSet)

XMLFileQueryInfo

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)
Method Detail

getFileName

public java.lang.String getFileName()
Returns the xml file name


setFileName

public void setFileName(java.lang.String f)
Sets the xml file name


getData

public byte[] getData()
Returns the byte array contains the data


setData

public void setData(byte[] barray)
Sets the data through byte array


getFieldInfo

public XMLFieldInfo[] getFieldInfo()
Returns the array of XMLFieldInfo object


setFieldInfo

public void setFieldInfo(XMLFieldInfo[] fields)
Sets the filed infomation

Parameters:
fields - , an array of XMLFieldInfo objects

getCondition

public java.lang.String getCondition()
Returns the condition query string


setCondition

public void setCondition(java.lang.String cond)
Sets the condition string to filter the resultset


getConditionInfo

public XMLFieldInfo[] getConditionInfo()
Returns an array of XMLFieldInfo objects that need for the condition


getDTDName

public java.lang.String getDTDName()
for internal use only


setDTDName

public void setDTDName(java.lang.String f)
for internal use only


getDTD

public byte[] getDTD()
for internal use only


setDTD

public void setDTD(byte[] b)
for internal use only


isVerify

public boolean isVerify()
for internal use only


setVerify

public void setVerify(boolean state)
for internal use only


getInSet

public quadbase.common.paramquery.QueryInParamSet getInSet()
for internal use only


getInParam

public quadbase.common.util.IQueryInParam[] getInParam()
for internal use only


getParameterInPromptSequence

public quadbase.common.util.IQueryInParam[][] getParameterInPromptSequence()
for internal use only


setInSet

public void setInSet(quadbase.common.paramquery.QueryInParamSet inSet)
for internal use only


getFieldInfo

public XMLFieldInfo getFieldInfo(java.lang.String pathStr)

getDTDTreeFileName

public java.lang.String getDTDTreeFileName()
Returns the xml file name


setDTDTreeFileName

public void setDTDTreeFileName(java.lang.String f)
Sets the xml file name


write

public void write(java.io.DataOutput out)
           throws java.io.IOException
for internal use only

Throws:
java.io.IOException

read

public static XMLFileQueryInfo read(java.io.DataInput in)
                             throws java.io.IOException
for internal use only

Throws:
java.io.IOException

writeXML

public void writeXML(java.io.Writer dout)
              throws java.io.IOException
for internal use only

Throws:
java.io.IOException

readXML

public static XMLFileQueryInfo readXML(org.w3c.dom.Node dnode,
                                       int version)
                                throws java.lang.Exception
for internal use only

Throws:
java.lang.Exception

EspressReport 6.6