cuba.wired.ddread
Class XmlParserJDK

java.lang.Object
  extended by cuba.wired.ddread.XmlParserJDK
All Implemented Interfaces:
XmlParserI

public class XmlParserJDK
extends java.lang.Object
implements XmlParserI

XML parser using the Crimson XML library included in the JDK. This is the default parser.

Author:
Jan Lessner

Field Summary
static java.lang.String REVISION_ID
           
 
Constructor Summary
XmlParserJDK()
           
 
Method Summary
 java.lang.String getElementName(org.w3c.dom.Element element)
           
 org.w3c.dom.Element getRootElement(java.io.InputStream is)
           
 org.w3c.dom.Element getRootElement(java.io.InputStream is, java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION_ID

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

XmlParserJDK

public XmlParserJDK()
Method Detail

getRootElement

public org.w3c.dom.Element getRootElement(java.io.InputStream is)
                                   throws InitException
Specified by:
getRootElement in interface XmlParserI
Throws:
InitException

getRootElement

public org.w3c.dom.Element getRootElement(java.io.InputStream is,
                                          java.lang.String fileName)
                                   throws InitException
Specified by:
getRootElement in interface XmlParserI
Throws:
InitException

getElementName

public java.lang.String getElementName(org.w3c.dom.Element element)
Specified by:
getElementName in interface XmlParserI