ch.elca.el4j.services.xmlmerge.springframework
Class XmlMergeResource

java.lang.Object
  extended by org.springframework.core.io.AbstractResource
      extended by ch.elca.el4j.services.xmlmerge.springframework.XmlMergeResource
All Implemented Interfaces:
InputStreamSource, Resource

public class XmlMergeResource
extends AbstractResource

A spring resource merging XML files read from other resources.

Author:
Laurent Bovet (LBO), Alex Mathey (AMA)
File-location:
XmlMergeResource
Last check-in date:
2009-08-04 15:48:31 +0200 (Di, 04. Aug 2009) by swismer for revision 3884

Constructor Summary
XmlMergeResource()
           
 
Method Summary
 String getDescription()
          
 InputStream getInputStream()
          Returns an InputStream containing the data of this merged resource.
 void setProperties(Map map)
          Sets the configuration properties.
 void setResources(List resources)
          Sets the list of resources to merge.
 
Methods inherited from class org.springframework.core.io.AbstractResource
contentLength, createRelative, equals, exists, getFile, getFileForLastModifiedCheck, getFilename, getURI, getURL, hashCode, isOpen, isReadable, lastModified, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlMergeResource

public XmlMergeResource()
Method Detail

getDescription

public String getDescription()


getInputStream

public InputStream getInputStream()
                           throws IOException
Returns an InputStream containing the data of this merged resource.

Returns:
The InputStream containing the data of this merged resource.
Throws:
IOException
See Also:
AbstractResource

setResources

public void setResources(List resources)
Sets the list of resources to merge.

Parameters:
resources - The list of resources to merge

setProperties

public void setProperties(Map map)
Sets the configuration properties.

Parameters:
map - A map containing the configuration properties


Copyright © 2005-2011 ELCA. All Rights Reserved.