dfki.util.xml
Class XML

java.lang.Object
  |
  +--dfki.util.xml.XML

public class XML
extends java.lang.Object

Class to support XML handling. Properties of the XML class are:

SAX_PARSER_CLASSNAME: (Util.XML.SaxParserClassName)
Classname of the SAX parser to be used
SAX2_PARSER_CLASSNAME: (Util.XML.Sax2ParserClassName)
Classname of the SAX2 parser to be used
DOM_IMPL_CLASSNAME: (Util.XML.DOMImplClassName)
Name of the class implementing the abstract XML.DOM class

Look in dfki.util.examples.xml for examples.


Inner Class Summary
static class XML.DOM
          Defines a programming interface for accessing XML structures represented in the document object model (DOM).
static class XML.PDOM
           
static class XML.Property
          Defines the propeties for the XML module.
static class XML.SAX
          API to use SAX and SAX2 parsing
static class XML.Setup
           
 
Field Summary
static java.lang.String MODULE_NAME
           
 
Method Summary
static XML.DOM dom()
          Creates an instance of a XML.DOM implementing class.
static XML.DOM dom(java.lang.String domImplClassName)
          Creates an instance of a XML.DOM implementing class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE_NAME

public static java.lang.String MODULE_NAME
Method Detail

dom

public static XML.DOM dom()
                   throws XML.DOM.Exception
Creates an instance of a XML.DOM implementing class. The method instantiates the class set via the XML.Property.DOM_IMPL_CLASSNAME property. If no value is given the default implementation is used.
See Also:
XML.Setup, XML.DOM

dom

public static XML.DOM dom(java.lang.String domImplClassName)
                   throws XML.DOM.Exception
Creates an instance of a XML.DOM implementing class.
See Also:
XML.DOM