1 16 package org.apache.cocoon.components.source.impl; 17 18 import java.io.IOException ; 19 import java.net.MalformedURLException ; 20 import java.util.Map ; 21 22 import org.apache.avalon.framework.logger.AbstractLogEnabled; 23 import org.apache.avalon.framework.thread.ThreadSafe; 24 import org.apache.excalibur.source.Source; 25 import org.apache.excalibur.source.SourceFactory; 26 27 33 public class EmptySourceFactory extends AbstractLogEnabled 34 implements SourceFactory, ThreadSafe { 35 36 44 public Source getSource(String location, Map parameters) 45 throws IOException , MalformedURLException { 46 return new EmptySource(location); 47 } 48 49 52 public void release(Source source) { 53 } 55 } 56 | Popular Tags |