com.armatiek.infofuze.result
Class NullResult

java.lang.Object
  extended by javax.xml.transform.stream.StreamResult
      extended by com.armatiek.infofuze.result.AbstractStreamResult
          extended by com.armatiek.infofuze.result.NullResult
All Implemented Interfaces:
DataResultIf, javax.xml.transform.Result

public class NullResult
extends AbstractStreamResult

A Result in which the output gets lost. Output that is written to a NullResult has no destination and is the equivalent of the famous /dev/null. All bytes or characters are ignored and lost in cyberspace. This result is particularly useful in a scenario where all data is written using the xsl:result-document or stx:result-document instructions and the primary result has no purpose.

Author:
Maarten Kroon

Field Summary
 
Fields inherited from class javax.xml.transform.stream.StreamResult
FEATURE
 
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
 
Constructor Summary
NullResult()
           
NullResult(org.w3c.dom.Element configElem)
           
NullResult(java.lang.String name)
           
 
Method Summary
 void open()
          Opens this result.
 
Methods inherited from class com.armatiek.infofuze.result.AbstractStreamResult
close, getName, getTransformId, getTransformMode, isOpen, reset, setParameters, setTransformId, setTransformMode
 
Methods inherited from class javax.xml.transform.stream.StreamResult
getOutputStream, getSystemId, getWriter, setOutputStream, setSystemId, setSystemId, setWriter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullResult

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

NullResult

public NullResult(java.lang.String name)

NullResult

public NullResult()
Method Detail

open

public void open()
Description copied from interface: DataResultIf
Opens this result.

Specified by:
open in interface DataResultIf
Overrides:
open in class AbstractStreamResult