Adempiere 3.5.2a

org.adempiere.pipo.handler
Class CodeSnipitElementHandler

java.lang.Object
  extended by org.adempiere.pipo.AbstractElementHandler
      extended by org.adempiere.pipo.handler.CodeSnipitElementHandler
All Implemented Interfaces:
ElementHandler

public class CodeSnipitElementHandler
extends AbstractElementHandler


Field Summary
 
Fields inherited from class org.adempiere.pipo.AbstractElementHandler
log
 
Constructor Summary
CodeSnipitElementHandler()
           
 
Method Summary
 void create(Properties ctx, TransformerHandler document)
          Create xml element ( export ).
 void endElement(Properties ctx, Element element)
          Handle closing of xml element ( import ).
static int readReplace(String fname, String oldPattern, String replPattern)
          Find and replace code
 void startElement(Properties ctx, Element element)
          Handle start of xml element ( import ).
 
Methods inherited from class org.adempiere.pipo.AbstractElementHandler
copyFile, copyRecord, get_ID, get_IDWithColumn, get_IDWithMaster, get_IDWithMaster, get_IDWithMasterAndColumn, getClientId, getIDbyName, getLogDocument, getPackageDirectory, getPackageImpId, getStringValue, getTrxName, getUpdateMode, isHandleTranslations, isProcessElement, OpenInputfile, OpenOutputfile, record_log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeSnipitElementHandler

public CodeSnipitElementHandler()
Method Detail

startElement

public void startElement(Properties ctx,
                         Element element)
                  throws SAXException
Description copied from interface: ElementHandler
Handle start of xml element ( import ).

Throws:
SAXException

readReplace

public static int readReplace(String fname,
                              String oldPattern,
                              String replPattern)
Find and replace code

Parameters:
file - name
old - string
new - string

endElement

public void endElement(Properties ctx,
                       Element element)
                throws SAXException
Description copied from interface: ElementHandler
Handle closing of xml element ( import ).

Throws:
SAXException

create

public void create(Properties ctx,
                   TransformerHandler document)
            throws SAXException
Description copied from interface: ElementHandler
Create xml element ( export ).

Throws:
SAXException

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.