2016/05/28 - Apache Tuscany has been retired. 
For more information, please explore the Attic. 
 
org.apache.tuscany.sca.databinding.xml
Class InputSource2Node
java.lang.Object
  
org.apache.tuscany.sca.databinding.impl.BaseTransformer<org.xml.sax.InputSource,org.w3c.dom.Node>
      
org.apache.tuscany.sca.databinding.xml.InputSource2Node
- All Implemented Interfaces: 
 - PullTransformer<org.xml.sax.InputSource,org.w3c.dom.Node>, Transformer
 
public class InputSource2Node
- extends BaseTransformer<org.xml.sax.InputSource,org.w3c.dom.Node>
- implements PullTransformer<org.xml.sax.InputSource,org.w3c.dom.Node>
  
Push DOM InputSource to Node
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
InputSource2Node
public InputSource2Node()
transform
public org.w3c.dom.Node transform(org.xml.sax.InputSource source,
                                  TransformationContext context)
- Description copied from interface: 
PullTransformer 
- Transform source data into the result type.
- Specified by:
 transform in interface PullTransformer<org.xml.sax.InputSource,org.w3c.dom.Node>
 
- Parameters:
 source - The source datacontext - The context for the transformation
- Returns:
 - The transformed result
 
 
 
getSourceType
public java.lang.Class<org.xml.sax.InputSource> getSourceType()
- Specified by:
 getSourceType in class BaseTransformer<org.xml.sax.InputSource,org.w3c.dom.Node>
 
 
getTargetType
public java.lang.Class<org.w3c.dom.Node> getTargetType()
- Specified by:
 getTargetType in class BaseTransformer<org.xml.sax.InputSource,org.w3c.dom.Node>
 
 
getWeight
public int getWeight()
- Description copied from interface: 
Transformer 
- Get the cost of the transformation. The weight can be used to choose the most efficient path if there are more
 than one available from the source to the target.
- Specified by:
 getWeight in interface Transformer- Overrides:
 getWeight in class BaseTransformer<org.xml.sax.InputSource,org.w3c.dom.Node>
 
- Returns:
 - An integer representing the cost of the transformation