|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Callback interface for SimpleImporter
.
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. |
Method Detail |
public void startDocument()
public void endDocument()
public void cData(SimplePath path, String cdata)
startElement(SimplePath, String, AttributesImpl, String)
.
path
- path of the element closed by this end tagcdata
- The character data (like in SAX, but unlike from the
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
startElement(SimplePath, String, AttributesImpl, String)
it will not be called back here.startElement(SimplePath, String, AttributesImpl, String)
public void startElement(SimplePath path, String name, AttributesImpl attributes, String leadingCDdata)
leadingCDdata
parameter.
Unlike from cData(SimplePath, String)
callback all character data fragments will
be grouped together in this parameter.cData(SimplePath, String)
callback.
path
- path of the element closed by this end tagname
- the name of the end 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 cData(SimplePath, String)
callback.public void endElement(SimplePath path, String name)
path
- 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 |