Package org.pentaho.di.repository
Class RepositoryExportSaxParser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.xml.sax.ext.DefaultHandler2
org.pentaho.di.repository.RepositoryExportSaxParser
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
,DeclHandler
,EntityResolver2
,LexicalHandler
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRepositoryExportSaxParser
(String filename, RepositoryImportFeedbackInterface feedback) -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) void
endCDATA()
void
endElement
(String uri, String localName, String qName) void
void
parse
(RepositoryElementReadListener repositoryElementReadListener) void
void
startElement
(String uri, String localName, String qName, Attributes attributes) Methods inherited from class org.xml.sax.ext.DefaultHandler2
attributeDecl, comment, elementDecl, endDTD, endEntity, externalEntityDecl, getExternalSubset, internalEntityDecl, resolveEntity, resolveEntity, startDTD, startEntity
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
STRING_REPOSITORY
- See Also:
-
STRING_TRANSFORMATIONS
- See Also:
-
STRING_TRANSFORMATION
- See Also:
-
STRING_JOBS
- See Also:
-
STRING_JOB
- See Also:
-
-
Constructor Details
-
RepositoryExportSaxParser
-
-
Method Details
-
parse
public void parse(RepositoryElementReadListener repositoryElementReadListener) throws SAXException, ParserConfigurationException, IOException -
startElement
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
-
startCDATA
public void startCDATA()- Specified by:
startCDATA
in interfaceLexicalHandler
- Overrides:
startCDATA
in classDefaultHandler2
-
endCDATA
public void endCDATA()- Specified by:
endCDATA
in interfaceLexicalHandler
- Overrides:
endCDATA
in classDefaultHandler2
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Overrides:
fatalError
in classDefaultHandler
-