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.
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 |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
templates
protected javax.xml.transform.Templates templates
source
protected Source source
Style
public Style(Action e,
java.lang.String id,
Source src)
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