| java.lang.Object org.xml.sax.helpers.DefaultHandler com.knowgate.datacopy.DataStruct
All known Subclasses: com.knowgate.datacopy.DataStructOrcl, com.knowgate.datacopy.FullTableCopy,
DataStruct | public class DataStruct extends DefaultHandler implements ContentHandler(Code) | | Copier for Complex Data Structures stored at database.
This is not a general purpose module, but a custom class tailored to the
design constraints of hipergate standard datamodel.
author: Sergio Montoro Ten version: 0.6 alpha |
Method Summary | |
public void | characters(char ch, int start, int length) Characters. | public void | clear() | public void | commit() | protected String | composeError(String type, SAXParseException ex) Compose the error message. | public void | connectOrigin(String sDriver, String sURL, String sUsr, String sPwd, String sSchema) | public void | connectTarget(String sDriver, String sURL, String sUsr, String sPwd, String sSchema) | public Object | convert(Object oValue, int iSQLType) | public void | createClassSource(String sPackage, String sSubClassName, String sFile) | public void | disconnectAll() | public void | endElement(String uri, String localName, String qname) | public void | error(SAXParseException ex) Error. | protected void | execCommands(String sTime, int iTable, Object PK, int cParams) | public void | fatalError(SAXParseException ex) Fatal error. | public Connection | getOriginConnection() | protected Object | getResult(int iRow, int iCol) | protected DataRowSet | getRowSet(int i) | protected void | getRows(Object[] OrPK, Object[] TrPK, int cParams, int iTable) | public Connection | getTargetConnection() | public void | insert(Object[] OrPK, Object[] TrPK, int cParams) | public int | mapType(int iSQLType) | public void | parse(String sXMLFile) | public void | parse(String sXMLFile, Properties oProps) | public void | prepareStatements() | public void | rollback() | protected void | seekReferal(DataTransformation oTransform) | public void | setAutoCommit(boolean bAutoCommit) | public void | setOriginConnection(Connection oConn) | public void | setTargetConnection(Connection oConn) | public void | startDocument() Start document. | public void | startElement(String uri, String local, String raw, Attributes attrs) | public void | update(Object[] OrPK, Object[] TrPK, int cParams) | public void | warning(SAXParseException ex) Warning. |
DEFAULT_DYNAMIC_VALIDATION | final protected static boolean DEFAULT_DYNAMIC_VALIDATION(Code) | | |
DEFAULT_MEMORY_USAGE | final protected static boolean DEFAULT_MEMORY_USAGE(Code) | | |
DEFAULT_NAMESPACES | final protected static boolean DEFAULT_NAMESPACES(Code) | | |
DEFAULT_NAMESPACE_PREFIXES | final protected static boolean DEFAULT_NAMESPACE_PREFIXES(Code) | | |
DEFAULT_PARSER_NAME | final protected static String DEFAULT_PARSER_NAME(Code) | | |
DEFAULT_REPETITION | final protected static int DEFAULT_REPETITION(Code) | | |
DEFAULT_SCHEMA_FULL_CHECKING | final protected static boolean DEFAULT_SCHEMA_FULL_CHECKING(Code) | | |
DEFAULT_SCHEMA_VALIDATION | final protected static boolean DEFAULT_SCHEMA_VALIDATION(Code) | | |
DEFAULT_TAGGINESS | final protected static boolean DEFAULT_TAGGINESS(Code) | | |
DEFAULT_VALIDATION | final protected static boolean DEFAULT_VALIDATION(Code) | | |
DYNAMIC_VALIDATION_FEATURE_ID | final protected static String DYNAMIC_VALIDATION_FEATURE_ID(Code) | | |
NAMESPACES_FEATURE_ID | final protected static String NAMESPACES_FEATURE_ID(Code) | | |
NAMESPACE_PREFIXES_FEATURE_ID | final protected static String NAMESPACE_PREFIXES_FEATURE_ID(Code) | | |
SCHEMA_FULL_CHECKING_FEATURE_ID | final protected static String SCHEMA_FULL_CHECKING_FEATURE_ID(Code) | | |
SCHEMA_VALIDATION_FEATURE_ID | final protected static String SCHEMA_VALIDATION_FEATURE_ID(Code) | | |
VALIDATION_FEATURE_ID | final protected static String VALIDATION_FEATURE_ID(Code) | | |
cTables | protected int cTables(Code) | | |
iCols | protected int iCols(Code) | | |
iRows | protected int iRows(Code) | | |
DataStruct | public DataStruct()(Code) | | |
characters | public void characters(char ch, int start, int length) throws SAXException(Code) | | Characters.
|
getResult | protected Object getResult(int iRow, int iCol)(Code) | | |
mapType | public int mapType(int iSQLType)(Code) | | |
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|