public class XMLInputSaxDataRetriever extends DefaultHandler
| Constructor and Description |
|---|
XMLInputSaxDataRetriever(org.pentaho.di.core.logging.LogChannelInterface log,
String sourceFile,
XMLInputSaxMeta meta,
XMLInputSaxData data)
Constructor of xmlDataRetreiver class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
Object[] |
getNext() |
boolean |
hasNext() |
void |
runExample() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic XMLInputSaxDataRetriever(org.pentaho.di.core.logging.LogChannelInterface log,
String sourceFile,
XMLInputSaxMeta meta,
XMLInputSaxData data)
sourceFile - The XML file containing data.meta - The metadata to usedata - the (temporary) data to referencepublic void runExample()
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic boolean hasNext()
public Object[] getNext()