tomp.ext
Class Style

java.lang.Object
  |
  +--tomp.ext.Base
        |
        +--tomp.ext.Style
All Implemented Interfaces:
Source

public class Style
extends Base
implements Source

This Style class wraps a javax.xml.transform.Templates object created from a specified tomp.ext.Source

Does not have any validator.


Field Summary
protected  Source source
           
protected  javax.xml.transform.Templates templates
           
 
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
Style(Action e, java.lang.String id, Source src)
           
 
Method Summary
 javax.xml.transform.Source getAsSource()
          Forwards the query to the provided Source.getAsSource().
 javax.xml.transform.Templates getTemplates()
          Gives the javax.xml.transform.Templates object.
 void update()
          Creates the javax.xml.transform.Templates object from provided Source.
 
Methods inherited from class tomp.ext.Base
abortProcessing, commitProcessing, getAsRawSource, 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
id, isReady, isValid
 

Field Detail

templates

protected javax.xml.transform.Templates templates

source

protected Source source
Constructor Detail

Style

public Style(Action e,
             java.lang.String id,
             Source src)
Method Detail

getTemplates

public javax.xml.transform.Templates getTemplates()
                                           throws EXTException
Gives the javax.xml.transform.Templates object. Called by Transformation objects.

EXTException

update

public void update()
            throws EXTException
Creates the javax.xml.transform.Templates object from provided Source.

EXTException

getAsSource

public javax.xml.transform.Source getAsSource()
                                       throws EXTException
Forwards the query to the provided Source.getAsSource(). Not typically used.

Specified by:
getAsSource in interface Source
Overrides:
getAsSource in class Base
EXTException