org.jtools.dao.xml.sax
Class SimpleDAOSaxDescriptor<T_Result>
java.lang.Object
org.jtools.dao.xml.sax.SimpleDAOSaxDescriptor<T_Result>
- All Implemented Interfaces:
- DAOSaxDescriptor<T_Result>
public class SimpleDAOSaxDescriptor<T_Result>
- extends Object
- implements DAOSaxDescriptor<T_Result>
- Author:
- Rainer
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleDAOSaxDescriptor
public SimpleDAOSaxDescriptor(PublisherConfig publisherConfig,
DAOSaxContentHandler<T_Result> contentHandler,
DAOInvocator invocator)
getContentHandler
public DAOSaxContentHandler<T_Result> getContentHandler()
- Specified by:
getContentHandler
in interface DAOSaxDescriptor<T_Result>
getParserFactory
public static SAXParserFactory getParserFactory()
unmarshall
public T_Result unmarshall(URL url)
throws SAXException,
ParserConfigurationException,
IOException
- Specified by:
unmarshall
in interface DAOSaxDescriptor<T_Result>
- Throws:
SAXException
ParserConfigurationException
IOException
setAttribute
public boolean setAttribute(Object element,
String name,
String value)
throws Exception
- Specified by:
setAttribute
in interface DAOSaxDescriptor<T_Result>
- Throws:
Exception
createElement
public Object createElement(Object parent,
String name)
throws Exception
- Specified by:
createElement
in interface DAOSaxDescriptor<T_Result>
- Throws:
Exception
setElement
public void setElement(Object parent,
String name,
Object element)
throws Exception
- Specified by:
setElement
in interface DAOSaxDescriptor<T_Result>
- Throws:
Exception
addText
public boolean addText(Object element,
StringBuilder value)
throws Exception
- Specified by:
addText
in interface DAOSaxDescriptor<T_Result>
- Throws:
Exception
setText
public boolean setText(Object element,
StringBuilder value)
throws Exception
- Specified by:
setText
in interface DAOSaxDescriptor<T_Result>
- Throws:
Exception
© 2000-2006, JTools.org.