Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.rt.loader.core
Class SDSAXHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by oracle.apps.fnd.applseed.rt.loader.core.SDSAXHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
Direct Known Subclasses:
SDBaseSAXHandler, SDXliffSAXHandler

public abstract class SDSAXHandler
extends org.xml.sax.helpers.DefaultHandler

Since:
Drop 6
Version:
$Header: atgpf/applseed/src/java/oracle/apps/fnd/applseed/rt/loader/core/SDSAXHandler.java /main/17 2010/10/20 12:11:29 sjanarth Exp $
Author:
sjanarth

Field Summary
protected  java.lang.String enterpriseId
           
protected  java.util.List<java.lang.Throwable> errors
           
protected static java.util.logging.Logger LOGGER
           
static java.lang.String SEEDDATA_ATTR_AM
           
static java.lang.String SEEDDATA_ATTR_DRIVER
           
static java.lang.String SEEDDATA_ATTR_EFFECTIVE_DATED
           
static java.lang.String SEEDDATA_ATTR_ENTERPRISE_ID
           
static java.lang.String SEEDDATA_ATTR_JDBC_UPDATES
           
static java.lang.String SEEDDATA_ATTR_PARTITION_KEY_ATTRIB
           
static java.lang.String SEEDDATA_ATTR_PARTITION_KEY_VALUE
           
static java.lang.String SEEDDATA_ATTR_ROWCOUNT
           
static java.lang.String SEEDDATA_ATTR_TESTMODE
           
protected  oracle.jbo.server.ApplicationModuleImpl theAM
           
protected  SDDataHandler theHandler
           
protected  SDLoaderParams theParams
           
protected  java.util.Map<java.lang.String,java.lang.String> theProperties
           
protected  SDRowCounter theRowCounter
           
 
Constructor Summary
SDSAXHandler(oracle.jbo.server.ApplicationModuleImpl am, SDLoaderParams loaderParams)
           
 
Method Summary
 void endDocument()
           
 boolean foundImmutableSeedData()
           
 boolean foundMutableSeedData()
           
 java.util.List<java.lang.Throwable> getErrors()
           
protected  java.util.Map<java.lang.String,java.lang.String> getProperties(org.xml.sax.Attributes attrs)
           
 SDRowCounter getRowCounter()
           
 java.util.List<java.lang.String> getWarnings()
           
protected  void handleException(java.lang.Exception ex, boolean fatal)
           
protected  void performLoad(SDDataEntity topEntity)
           
 void reset()
           
 void rollbackTrans()
           
 void setEnterprise(java.lang.String eid)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

protected static final java.util.logging.Logger LOGGER

SEEDDATA_ATTR_AM

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

SEEDDATA_ATTR_DRIVER

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

SEEDDATA_ATTR_TESTMODE

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

SEEDDATA_ATTR_PARTITION_KEY_ATTRIB

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

SEEDDATA_ATTR_PARTITION_KEY_VALUE

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

SEEDDATA_ATTR_EFFECTIVE_DATED

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

SEEDDATA_ATTR_JDBC_UPDATES

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

SEEDDATA_ATTR_ENTERPRISE_ID

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

SEEDDATA_ATTR_ROWCOUNT

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

theHandler

protected SDDataHandler theHandler

theParams

protected SDLoaderParams theParams

theAM

protected oracle.jbo.server.ApplicationModuleImpl theAM

theProperties

protected java.util.Map<java.lang.String,java.lang.String> theProperties

theRowCounter

protected SDRowCounter theRowCounter

errors

protected java.util.List<java.lang.Throwable> errors

enterpriseId

protected java.lang.String enterpriseId
Constructor Detail

SDSAXHandler

public SDSAXHandler(oracle.jbo.server.ApplicationModuleImpl am,
                    SDLoaderParams loaderParams)
             throws SDUnknownDataHandlerException,
                    SDMetaDataException
Throws:
SDUnknownDataHandlerException
SDMetaDataException
Method Detail

getRowCounter

public SDRowCounter getRowCounter()

getErrors

public java.util.List<java.lang.Throwable> getErrors()

endDocument

public void endDocument()
                 throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler
Overrides:
endDocument in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException

performLoad

protected void performLoad(SDDataEntity topEntity)
                    throws SDLoaderException
Throws:
SDLoaderException

handleException

protected void handleException(java.lang.Exception ex,
                               boolean fatal)
                        throws org.xml.sax.SAXException,
                               SDLoaderException
Throws:
org.xml.sax.SAXException
SDLoaderException

getProperties

protected java.util.Map<java.lang.String,java.lang.String> getProperties(org.xml.sax.Attributes attrs)

rollbackTrans

public void rollbackTrans()

reset

public void reset()

getWarnings

public java.util.List<java.lang.String> getWarnings()

setEnterprise

public void setEnterprise(java.lang.String eid)

foundMutableSeedData

public boolean foundMutableSeedData()

foundImmutableSeedData

public boolean foundImmutableSeedData()

Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.