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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
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 Detail
-
startElement
void startElement(PIPOContext ctx, Element element) throws SAXException
Handle start of xml element ( import ).- Parameters:
ctx
-element
-- Throws:
SAXException
-
endElement
void endElement(PIPOContext ctx, Element element) throws SAXException
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
-
-