net.sf.jasperreports.jsf.engine.converters
Class XmlSourceConverter

java.lang.Object
  extended by net.sf.jasperreports.jsf.engine.converters.SourceConverterBase
      extended by net.sf.jasperreports.jsf.engine.converters.XmlSourceConverter
All Implemented Interfaces:
Serializable, SourceConverter

public final class XmlSourceConverter
extends SourceConverterBase

Converter implementation which obtains an XML data source from an existant resource.

Author:
A. Alonso Dominguez
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.jasperreports.jsf.engine.converters.SourceConverterBase
NULL_SOURCE
 
Constructor Summary
XmlSourceConverter()
           
 
Method Summary
protected  Source createSource(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
           
protected  Document getXmlDocument(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
           
 
Methods inherited from class net.sf.jasperreports.jsf.engine.converters.SourceConverterBase
convertFromSource, convertFromValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlSourceConverter

public XmlSourceConverter()
Method Detail

createSource

protected Source createSource(javax.faces.context.FacesContext context,
                              javax.faces.component.UIComponent component,
                              Object value)
                       throws SourceException
Overrides:
createSource in class SourceConverterBase
Throws:
SourceException

getXmlDocument

protected Document getXmlDocument(javax.faces.context.FacesContext context,
                                  javax.faces.component.UIComponent component,
                                  Object value)
                           throws ParserConfigurationException,
                                  SAXException,
                                  IOException
Throws:
ParserConfigurationException
SAXException
IOException


Copyright © 2011 SourceForge.net. All Rights Reserved.