cuba.wired.ddread
Interface XmlParserI

All Known Implementing Classes:
XmlParserJDK

public interface XmlParserI

This interface must be implemented by XML parser classes to used within CUBA. By default there are two implementations available:

If you want CUBA to work with a different XML framework, just write your own class implementing this interface and configure the XmlReader class accordingly.

Author:
Jan Lessner

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)
           
 

Method Detail

getRootElement

org.w3c.dom.Element getRootElement(java.io.InputStream is,
                                   java.lang.String fileName)
                                   throws InitException
Throws:
InitException

getRootElement

org.w3c.dom.Element getRootElement(java.io.InputStream is)
                                   throws InitException
Throws:
InitException

getElementName

java.lang.String getElementName(org.w3c.dom.Element element)