|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.zeigermann.xml.simpleImporter.DefaultSimpleImportHandler
Empty implementation for callback interface SimpleImportHandler for SimpleImporter.
For lazy people - like me - who do not like to write empty method bodies.
| Constructor Summary | |
DefaultSimpleImportHandler()
|
|
| Method Summary | |
void |
cData(SimplePath path,
String cdata)
Is called back when the parser has found character data. |
void |
endDocument()
Is called back when the parsed document ends. |
void |
endElement(SimplePath path,
String name)
Is called back when the parser has found the end of an element. |
void |
startDocument()
Is called back when the parsed document begins. |
void |
startElement(SimplePath path,
String name,
AttributesImpl attributes,
String leadingCDdata)
Is called back when the parser has found the start of an element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultSimpleImportHandler()
| Method Detail |
public void startDocument()
SimpleImportHandler
startDocument in interface SimpleImportHandlerpublic void endDocument()
SimpleImportHandler
endDocument in interface SimpleImportHandler
public void cData(SimplePath path,
String cdata)
SimpleImportHandlerSimpleImportHandler.startElement(SimplePath, String, AttributesImpl, String).
cData in interface SimpleImportHandlerpath - path of the element closed by this end tagcdata - The character data (like in SAX, but unlike from the
SimpleImportHandler.startElement(SimplePath, String, AttributesImpl, String) call a sequence of CDATA is not
guaranteed to be grouped together into one callback)
of this callbacks. If leading CDATA is delivered together with
SimpleImportHandler.startElement(SimplePath, String, AttributesImpl, String) it will not be called back here.SimpleImportHandler.startElement(SimplePath, String, AttributesImpl, String)
public void startElement(SimplePath path,
String name,
AttributesImpl attributes,
String leadingCDdata)
SimpleImportHandlerleadingCDdata parameter.
Unlike from SimpleImportHandler.cData(SimplePath, String) callback all character data fragments will
be grouped together in this parameter.SimpleImportHandler.cData(SimplePath, String) callback.
startElement in interface SimpleImportHandlerpath - path of the element closed by this end tagname - the name of the start tagleadingCDdata - If enabled in
SimpleImporter.setIncludeLeadingCDataIntoStartElementCallback(boolean)
the text directly following the start tag, i.e. before any
other tagging. If this is enabled you will not get this text
via the SimpleImportHandler.cData(SimplePath, String) callback.
public void endElement(SimplePath path,
String name)
SimpleImportHandler
endElement in interface SimpleImportHandlerpath - path of the element closed by this end tagname - the name of the element to be closed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||