Class ContentLoaderHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.apache.syncope.core.persistence.jpa.content.ContentLoaderHandler
-
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class ContentLoaderHandler extends DefaultHandler
SAX handler for generating SQL INSERT statements out of given XML file.
-
-
Constructor Summary
Constructors Constructor Description ContentLoaderHandler(DataSource dataSource, String rootElement, boolean continueOnError, Environment env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstartElement(String uri, String localName, String qName, Attributes atts)-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Constructor Detail
-
ContentLoaderHandler
public ContentLoaderHandler(DataSource dataSource, String rootElement, boolean continueOnError, Environment env)
-
-
Method Detail
-
startElement
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
-