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:
-
XmlParserJDK
for use of the JDK's built-in parser
-
XmlParserXerces
for use with Apache's Xerces
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)
|
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)