Package org.compiere.install
Class TranslationHandler
- java.lang.Object
- 
- org.xml.sax.helpers.DefaultHandler
- 
- org.compiere.install.TranslationHandler
 
 
- 
- All Implemented Interfaces:
- ContentHandler,- DTDHandler,- EntityResolver,- ErrorHandler
 
 public class TranslationHandler extends DefaultHandler SAX Handler for parsing Translation- Version:
- $Id: TranslationHandler.java,v 1.2 2006/07/30 00:51:28 jjanke Exp $
- Author:
- Jorg Janke
 
- 
- 
Constructor SummaryConstructors Constructor Description TranslationHandler(int AD_Client_ID)Translation Handler
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcharacters(char[] ch, int start, int length)Receive notification of character data inside an element.voidendElement(String uri, String localName, String qName)Receive notification of the end of an element.intgetUpdateCount()Get Number of updatesvoidstartElement(String uri, String localName, String qName, Attributes attributes)Receive notification of the start of an element.- 
Methods inherited from class org.xml.sax.helpers.DefaultHandlerendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
- 
 
- 
- 
- 
Method Detail- 
startElementpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException Receive notification of the start of an element.- Specified by:
- startElementin interface- ContentHandler
- Overrides:
- startElementin class- DefaultHandler
- Parameters:
- uri- namespace
- localName- simple name
- qName- qualified name
- attributes- attributes
- Throws:
- SAXException
 
 - 
characterspublic void characters(char[] ch, int start, int length) throws SAXExceptionReceive notification of character data inside an element.- Specified by:
- charactersin interface- ContentHandler
- Overrides:
- charactersin class- DefaultHandler
- Parameters:
- ch- buffer
- start- start
- length- length
- Throws:
- SAXException
 
 - 
endElementpublic void endElement(String uri, String localName, String qName) throws SAXException Receive notification of the end of an element.- Specified by:
- endElementin interface- ContentHandler
- Overrides:
- endElementin class- DefaultHandler
- Parameters:
- uri- namespace
- localName- simple name
- qName- qualified name
- Throws:
- SAXException
 
 - 
getUpdateCountpublic int getUpdateCount() Get Number of updates- Returns:
- update count
 
 
- 
 
-