tomp.ext
Class BuiltTreeSource

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

public class BuiltTreeSource
extends TreeSource

Class BuiltTreeSource is an abstract TreeSource, being built by a TreeSourceBuilder.


Field Summary
protected  boolean hasRoot
           
protected  java.lang.String rootName
           
protected  java.lang.String srcNsPrefix
           
protected  java.lang.String srcNsURI
           
protected  boolean toplevel
           
 
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
BuiltTreeSource(Action a, java.lang.String id, Validator v, BuiltTreeSource[] subsources, boolean toplevel, boolean hasRoot)
           
BuiltTreeSource(Action a, java.lang.String id, Validator v, BuiltTreeSource[] subsources, boolean toplevel, boolean hasRoot, java.lang.String srcNsURI, java.lang.String srcNsPrefix, java.lang.String rootName)
           
 
Method Summary
 void body(TreeSourceBuilder tsb)
           
 javax.xml.transform.Source getAsRawSource()
          Returns the previously built tree.
 void update()
           
 void update(TreeSourceBuilder tsb)
           
 
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

srcNsURI

protected java.lang.String srcNsURI

srcNsPrefix

protected java.lang.String srcNsPrefix

rootName

protected java.lang.String rootName

toplevel

protected boolean toplevel

hasRoot

protected boolean hasRoot
Constructor Detail

BuiltTreeSource

public BuiltTreeSource(Action a,
                       java.lang.String id,
                       Validator v,
                       BuiltTreeSource[] subsources,
                       boolean toplevel,
                       boolean hasRoot)
                throws EXTException

BuiltTreeSource

public BuiltTreeSource(Action a,
                       java.lang.String id,
                       Validator v,
                       BuiltTreeSource[] subsources,
                       boolean toplevel,
                       boolean hasRoot,
                       java.lang.String srcNsURI,
                       java.lang.String srcNsPrefix,
                       java.lang.String rootName)
                throws EXTException
Method Detail

update

public void update()
            throws EXTException
EXTException

update

public void update(TreeSourceBuilder tsb)
            throws EXTException
EXTException

body

public void body(TreeSourceBuilder tsb)
          throws EXTException,
                 javax.xml.transform.TransformerException
EXTException
javax.xml.transform.TransformerException

getAsRawSource

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

Returns the previously built tree.

Overrides:
getAsRawSource in class TreeSource
EXTException