Package org.adempiere.pipo2
Interface ElementHandler
- All Known Implementing Classes:
AbstractElementHandler
public interface ElementHandler
Interface for handling import and export of table data using xml
- Author:
- Low Heng Sin
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endElement
(PIPOContext ctx, Element element) Handle closing of xml element ( import ).void
packOut
(PackOut packout, TransformerHandler packoutHandler, TransformerHandler docHandler, int recordId) default void
packOut
(PackOut packout, TransformerHandler packoutHandler, TransformerHandler docHandler, int recordId, String uuid) void
startElement
(PIPOContext ctx, Element element) Handle start of xml element ( import ).
-
Method Details
-
startElement
Handle start of xml element ( import ).- Parameters:
ctx
-element
-- Throws:
SAXException
-
endElement
Handle closing of xml element ( import ).- Parameters:
ctx
-element
-- Throws:
SAXException
-
packOut
void packOut(PackOut packout, TransformerHandler packoutHandler, TransformerHandler docHandler, int recordId) throws Exception - Parameters:
packout
-packoutHandler
-docHandler
-recordId
-- Throws:
Exception
-
packOut
default void packOut(PackOut packout, TransformerHandler packoutHandler, TransformerHandler docHandler, int recordId, String uuid) throws Exception - Parameters:
packout
-packoutHandler
-docHandler
-recordId
-uuid
-- Throws:
Exception
-