Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javatools.db.xml
Class XTable  view XTable download XTable.java

java.lang.Object
  extended byjavatools.db.AbstractTable
      extended byjavatools.db.xml.XTable
All Implemented Interfaces:
javatools.db.DbResult, javatools.db.DbTableUser

public class XTable
extends javatools.db.AbstractTable
implements javatools.db.DbResult

Version:
0.2.0

Field Summary
protected static boolean doValidation
           
protected static javax.xml.parsers.SAXParserFactory factory
           
protected static org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool
           
static int LOG_TYPE
           
protected  int responseType
           
static int RESULT_TYPE
           
protected  java.util.LinkedList resultList
           
protected static org.apache.xerces.util.SymbolTable sym
           
protected static javatools.xml.XsdTypeMap typeMap
           
 
Fields inherited from class javatools.db.AbstractTable
colNameMap, displaySize, names, tableName, types
 
Constructor Summary
XTable()
          Creates a new instance of XTable
 
Method Summary
 void close()
          Closes this table.
 int getResponseType()
           
static boolean isValidating()
           
 javatools.db.DbIterator iterator()
          Return an iterator to iterate over the rows in this table.
static void setDefaultComponents(javatools.xml.XsdTypeMap pTypeMap, javax.xml.parsers.SAXParserFactory pFactory, org.apache.xerces.util.SymbolTable pSym, org.apache.xerces.xni.grammars.XMLGrammarPool pGrammarPool)
           
 void setSource(java.io.InputStream stream)
           
 void setSource(java.io.InputStream stream, boolean doValidation, javatools.xml.XsdTypeMap typeMap, javax.xml.parsers.SAXParserFactory factory, org.apache.xerces.util.SymbolTable sym, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
           
static void setValidating(boolean value)
           
 
Methods inherited from class javatools.db.AbstractTable
equals, getColumnCount, getColumnIndex, getColumnName, getFullTableName, setColumnCount, setColumnName, setTableName, usesTables
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESULT_TYPE

public static final int RESULT_TYPE
See Also:
Constant Field Values

LOG_TYPE

public static final int LOG_TYPE
See Also:
Constant Field Values

resultList

protected java.util.LinkedList resultList

responseType

protected int responseType

typeMap

protected static javatools.xml.XsdTypeMap typeMap

factory

protected static javax.xml.parsers.SAXParserFactory factory

sym

protected static org.apache.xerces.util.SymbolTable sym

grammarPool

protected static org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool

doValidation

protected static boolean doValidation
Constructor Detail

XTable

public XTable()
Creates a new instance of XTable

Method Detail

setSource

public void setSource(java.io.InputStream stream,
                      boolean doValidation,
                      javatools.xml.XsdTypeMap typeMap,
                      javax.xml.parsers.SAXParserFactory factory,
                      org.apache.xerces.util.SymbolTable sym,
                      org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
               throws javatools.db.DbException

setSource

public void setSource(java.io.InputStream stream)
               throws javatools.db.DbException

close

public void close()
           throws javatools.db.DbException
Closes this table.

Specified by:
close in interface javatools.db.DbResult

iterator

public javatools.db.DbIterator iterator()
Return an iterator to iterate over the rows in this table.

Specified by:
iterator in interface javatools.db.DbResult

getResponseType

public int getResponseType()

setValidating

public static void setValidating(boolean value)
                          throws javatools.db.DbException

isValidating

public static boolean isValidating()

setDefaultComponents

public static void setDefaultComponents(javatools.xml.XsdTypeMap pTypeMap,
                                        javax.xml.parsers.SAXParserFactory pFactory,
                                        org.apache.xerces.util.SymbolTable pSym,
                                        org.apache.xerces.xni.grammars.XMLGrammarPool pGrammarPool)