www.element4solution.com

e4s.db.dict
Class E4DBXmlDictionaryHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by e4s.db.dict.E4DBXmlDictionaryHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class E4DBXmlDictionaryHandler
extends org.xml.sax.helpers.DefaultHandler
implements org.xml.sax.ContentHandler

Part of the datadictionary: internal used to read the dictionary XML meta file.

Since:
JDK 1.4
See Also:
E4DBDict.readDictionary(), E4DBDict.saveDictionary(java.lang.String), E4DBTable, E4DBColumn, E4DBType, E4DBView, E4DBReference

Field Summary
static java.lang.String XML_DATE_FORMAT
           
static java.lang.String XML_TAG_INCLUDE
           
static java.lang.String XML_TAG_PLUGIN
           
static java.lang.String XML_TAG_REDIRECTED
           
 
Constructor Summary
E4DBXmlDictionaryHandler(E4DBDict dict, java.lang.String filename, boolean is_e4s_system_dict)
           
 
Method Summary
static java.lang.String _getSVNVersionString()
           
 void characters(char[] ch, int start, int length)
           
 void endElement(java.lang.String namespace, java.lang.String localname, java.lang.String type)
           
 java.lang.String redirectedFile()
           
 void startElement(java.lang.String namespace, java.lang.String localname, java.lang.String type, org.xml.sax.Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
 

Field Detail

XML_DATE_FORMAT

public static final java.lang.String XML_DATE_FORMAT
See Also:
Constant Field Values

XML_TAG_REDIRECTED

public static final java.lang.String XML_TAG_REDIRECTED
See Also:
Constant Field Values

XML_TAG_INCLUDE

public static final java.lang.String XML_TAG_INCLUDE
See Also:
Constant Field Values

XML_TAG_PLUGIN

public static final java.lang.String XML_TAG_PLUGIN
See Also:
Constant Field Values
Constructor Detail

E4DBXmlDictionaryHandler

public E4DBXmlDictionaryHandler(E4DBDict dict,
                                java.lang.String filename,
                                boolean is_e4s_system_dict)
                         throws javax.xml.parsers.ParserConfigurationException,
                                org.xml.sax.SAXException,
                                java.io.IOException
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
Method Detail

startElement

public final void startElement(java.lang.String namespace,
                               java.lang.String localname,
                               java.lang.String type,
                               org.xml.sax.Attributes attributes)
                        throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler
Overrides:
characters in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException

endElement

public final void endElement(java.lang.String namespace,
                             java.lang.String localname,
                             java.lang.String type)
                      throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler
Overrides:
endElement in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException

redirectedFile

public java.lang.String redirectedFile()

_getSVNVersionString

public static java.lang.String _getSVNVersionString()

www.element4solution.com