org.pentaho.di.repository
Class RepositoryExportSaxParser
java.lang.Object
   org.xml.sax.helpers.DefaultHandler
org.xml.sax.helpers.DefaultHandler
       org.xml.sax.ext.DefaultHandler2
org.xml.sax.ext.DefaultHandler2
           org.pentaho.di.repository.RepositoryExportSaxParser
org.pentaho.di.repository.RepositoryExportSaxParser
- All Implemented Interfaces: 
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, DeclHandler, EntityResolver2, LexicalHandler
- public class RepositoryExportSaxParser 
- extends DefaultHandler2
 
 
 
| 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 | 
 
 
STRING_REPOSITORY
public static final String STRING_REPOSITORY
- See Also:
- Constant Field Values
STRING_TRANSFORMATIONS
public static final String STRING_TRANSFORMATIONS
- See Also:
- Constant Field Values
STRING_TRANSFORMATION
public static final String STRING_TRANSFORMATION
- See Also:
- Constant Field Values
STRING_JOBS
public static final String STRING_JOBS
- See Also:
- Constant Field Values
STRING_JOB
public static final String STRING_JOB
- See Also:
- Constant Field Values
RepositoryExportSaxParser
public RepositoryExportSaxParser(String filename,
                                 RepositoryImportFeedbackInterface feedback)
                          throws Exception
- Throws:
- Exception
parse
public void parse(RepositoryElementReadListener repositoryElementReadListener)
           throws Exception
- 
- Throws:
- Exception
 
startElement
public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes attributes)
                  throws SAXException
- 
- Specified by:
- startElementin interface- ContentHandler
- Overrides:
- startElementin class- DefaultHandler
 
- 
- Throws:
- SAXException
 
endElement
public void endElement(String uri,
                       String localName,
                       String qName)
                throws SAXException
- 
- Specified by:
- endElementin interface- ContentHandler
- Overrides:
- endElementin class- DefaultHandler
 
- 
- Throws:
- SAXException
 
startCDATA
public void startCDATA()
                throws SAXException
- 
- Specified by:
- startCDATAin interface- LexicalHandler
- Overrides:
- startCDATAin class- DefaultHandler2
 
- 
- Throws:
- SAXException
 
endCDATA
public void endCDATA()
              throws SAXException
- 
- Specified by:
- endCDATAin interface- LexicalHandler
- Overrides:
- endCDATAin class- DefaultHandler2
 
- 
- Throws:
- SAXException
 
characters
public void characters(char[] ch,
                       int start,
                       int length)
                throws SAXException
- 
- Specified by:
- charactersin interface- ContentHandler
- Overrides:
- charactersin class- DefaultHandler
 
- 
- Throws:
- SAXException
 
fatalError
public void fatalError(SAXParseException e)
                throws SAXException
- 
- Specified by:
- fatalErrorin interface- ErrorHandler
- Overrides:
- fatalErrorin class- DefaultHandler
 
- 
- Throws:
- SAXException