Class ContentLoaderHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.syncope.core.persistence.common.content.AbstractContentLoaderHandler
org.apache.syncope.core.persistence.jpa.content.ContentLoaderHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
SAX handler for generating SQL INSERT statements out of given XML file.
-
Field Summary
Fields inherited from class org.apache.syncope.core.persistence.common.content.AbstractContentLoaderHandler
continueOnError, fetches, LOG, paramSubstitutor -
Constructor Summary
ConstructorsConstructorDescriptionContentLoaderHandler(DataSource dataSource, String rootElement, boolean continueOnError, Environment env) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreate(String qName, Attributes atts) protected voidfetch(Attributes atts) Methods inherited from class org.apache.syncope.core.persistence.common.content.AbstractContentLoaderHandler
startElementMethods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
ContentLoaderHandler
public ContentLoaderHandler(DataSource dataSource, String rootElement, boolean continueOnError, Environment env)
-
-
Method Details
-
fetch
- Specified by:
fetchin classAbstractContentLoaderHandler
-
create
- Specified by:
createin classAbstractContentLoaderHandler
-