tomp.ext
Class TreeSourceResult

java.lang.Object
  |
  +--tomp.ext.Base
        |
        +--tomp.ext.TreeSource
              |
              +--tomp.ext.TreeSourceResult
All Implemented Interfaces:
Result, Source

public class TreeSourceResult
extends TreeSource
implements Result

The TreeSourceResult objects act as a SAXON-Tree-based variable for result tree fragments.

After filling with a value (by getAsResult() and so on), TreeSourceResult can be read as any other Source.


Field Summary
 
Fields inherited from class tomp.ext.TreeSource
builder
 
Fields inherited from class tomp.ext.Base
action, application, status, STATUS, STATUS_ABORTED, STATUS_IN_PROCESSING, STATUS_NOT_PROCESSED, STATUS_READY, STATUS_READY_INVALID, STATUS_READY_VALID, validator
 
Constructor Summary
TreeSourceResult(Action action, java.lang.String id, Validator v)
           
 
Method Summary
 javax.xml.transform.Result getAsResult()
           
 
Methods inherited from class tomp.ext.TreeSource
getAsRawSource
 
Methods inherited from class tomp.ext.Base
abortProcessing, commitProcessing, getAsSource, id, isReady, isValid, startProcessing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface tomp.ext.Result
id
 
Methods inherited from interface tomp.ext.Source
getAsSource, id, isReady, isValid
 

Constructor Detail

TreeSourceResult

public TreeSourceResult(Action action,
                        java.lang.String id,
                        Validator v)
                 throws EXTException
Method Detail

getAsResult

public javax.xml.transform.Result getAsResult()
Specified by:
getAsResult in interface Result
Returns:
javax.xml.transform.Result wrapped in the implementing class