public class XMLFlatReader extends DefaultHandler
Modifier and Type | Field and Description |
---|---|
protected String |
currV |
protected boolean |
maybeMore |
protected String |
recordTag |
protected String |
rootTag |
protected LinkedHashMap<String,XMLTable> |
tables
[key = tableID, value = XMLTable[qName, chars]]
|
protected String |
tableTag |
static String |
Tag |
Constructor and Description |
---|
XMLFlatReader(ILogger logger,
IXMLStruct xmlStruct) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] buf,
int offset,
int len) |
void |
endElement(String namespaceURI,
String sName,
String qName) |
XMLTable |
getTable(String tableID) |
LinkedHashMap<String,XMLTable> |
getTables() |
void |
startElement(String namespaceURI,
String localName,
String qname,
Attributes attributes) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public static final String Tag
protected String rootTag
protected String tableTag
protected String recordTag
protected LinkedHashMap<String,XMLTable> tables
protected String currV
protected boolean maybeMore
public XMLFlatReader(ILogger logger, IXMLStruct xmlStruct)
public LinkedHashMap<String,XMLTable> getTables()
public void startElement(String namespaceURI, String localName, String qname, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String namespaceURI, String sName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void characters(char[] buf, int offset, int len) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
SAXException
Copyright © 2024. All rights reserved.