tomp.ext
Class TreeSource

java.lang.Object
  |
  +--tomp.ext.Base
        |
        +--tomp.ext.TreeSource
All Implemented Interfaces:
Source
Direct Known Subclasses:
BuiltTreeSource, SQLSelectSource, TreeSourceResult

public abstract class TreeSource
extends Base
implements Source

Abstract basic class for all sources based on SAXON Trees.


Field Summary
protected  net.sf.saxon.om.Builder 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
TreeSource(Action e, java.lang.String id, Validator v)
          Constructs the TreeSource.
 
Method Summary
 javax.xml.transform.Source getAsRawSource()
          Returns the previously built tree.
 
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.Source
getAsSource, id, isReady, isValid
 

Field Detail

builder

protected net.sf.saxon.om.Builder builder
Constructor Detail

TreeSource

public TreeSource(Action e,
                  java.lang.String id,
                  Validator v)
           throws EXTException

Constructs the TreeSource.

Parameters:
e - action (used only for initializing the application field)
id - id
v - validator (may be null) for validating the obtained XML tree source
Method Detail

getAsRawSource

public javax.xml.transform.Source getAsRawSource()
                                          throws EXTException

Returns the previously built tree.

Overrides:
getAsRawSource in class Base
EXTException