com.armatiek.infofuze.source
Class NullSource

java.lang.Object
  extended by javax.xml.transform.stream.StreamSource
      extended by com.armatiek.infofuze.source.AbstractStreamSource
          extended by com.armatiek.infofuze.source.NullSource
All Implemented Interfaces:
DataSourceIf, javax.xml.transform.Source

public class NullSource
extends AbstractStreamSource

The NullSource provides an empty XML stream. This source is particularly useful in a scenario where all data is read using XPath's document() function (XSLT) or the stx:process-document instruction (STX) and the primary source of the transformation has no purpose.

Author:
Maarten Kroon

Field Summary
 
Fields inherited from class javax.xml.transform.stream.StreamSource
FEATURE
 
Constructor Summary
NullSource()
           
NullSource(org.w3c.dom.Element configElem)
           
NullSource(java.lang.String name)
           
 
Method Summary
 java.io.Reader getInternalReader()
           
 
Methods inherited from class com.armatiek.infofuze.source.AbstractStreamSource
afterStreamClosed, close, destroy, getName, getReader, getTransformId, getTransformMode, isAutoReturning, isOpen, open, reset, setAutoReturning, setParameters, setTransformId, setTransformMode
 
Methods inherited from class javax.xml.transform.stream.StreamSource
getInputStream, getPublicId, getSystemId, setInputStream, setPublicId, setReader, setSystemId, setSystemId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullSource

public NullSource(org.w3c.dom.Element configElem)

NullSource

public NullSource(java.lang.String name)

NullSource

public NullSource()
Method Detail

getInternalReader

public java.io.Reader getInternalReader()