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
 
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:
 startElement in interface ContentHandler- Overrides:
 startElement in class DefaultHandler
 
- Throws:
 SAXException
 
endElement
public void endElement(String uri,
                       String localName,
                       String qName)
                throws SAXException
- Specified by:
 endElement in interface ContentHandler- Overrides:
 endElement in class DefaultHandler
 
- Throws:
 SAXException
 
startCDATA
public void startCDATA()
                throws SAXException
- Specified by:
 startCDATA in interface LexicalHandler- Overrides:
 startCDATA in class DefaultHandler2
 
- Throws:
 SAXException
 
endCDATA
public void endCDATA()
              throws SAXException
- Specified by:
 endCDATA in interface LexicalHandler- Overrides:
 endCDATA in class DefaultHandler2
 
- Throws:
 SAXException
 
characters
public void characters(char[] ch,
                       int start,
                       int length)
                throws SAXException
- Specified by:
 characters in interface ContentHandler- Overrides:
 characters in class DefaultHandler
 
- Throws:
 SAXException
 
fatalError
public void fatalError(SAXParseException e)
                throws SAXException
- Specified by:
 fatalError in interface ErrorHandler- Overrides:
 fatalError in class DefaultHandler
 
- Throws:
 SAXException