tomp.xml.type
Class StyleTypeTransformation

java.lang.Object
  extended bytomp.xml.type.StyleTypeTransformation
All Implemented Interfaces:
Parametrized, TypeTransformation

public class StyleTypeTransformation
extends java.lang.Object
implements TypeTransformation


Field Summary
protected  XTFilterFactory factory
           
protected  java.util.Map params
           
static double STYLE_COSTS
           
protected  java.lang.String styleSystemId
           
 
Fields inherited from interface tomp.xml.type.TypeTransformation
IDENTITY
 
Constructor Summary
StyleTypeTransformation(XTFilterFactory ff, java.lang.String styleSystemId)
           
 
Method Summary
 double getCosts()
           
 boolean isIdentity()
           
 org.xml.sax.XMLFilter newFilter()
           
 void setParameter(java.lang.String k, java.lang.Object v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STYLE_COSTS

public static final double STYLE_COSTS
See Also:
Constant Field Values

styleSystemId

protected java.lang.String styleSystemId

factory

protected XTFilterFactory factory

params

protected java.util.Map params
Constructor Detail

StyleTypeTransformation

public StyleTypeTransformation(XTFilterFactory ff,
                               java.lang.String styleSystemId)
                        throws javax.xml.transform.TransformerConfigurationException
Method Detail

setParameter

public void setParameter(java.lang.String k,
                         java.lang.Object v)
Specified by:
setParameter in interface Parametrized

newFilter

public org.xml.sax.XMLFilter newFilter()
                                throws TypeTransformationException
Specified by:
newFilter in interface TypeTransformation
Throws:
TypeTransformationException

getCosts

public double getCosts()
Specified by:
getCosts in interface TypeTransformation

toString

public java.lang.String toString()

isIdentity

public boolean isIdentity()
Specified by:
isIdentity in interface TypeTransformation