|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.databinding.impl.BaseTransformer<org.w3c.dom.Node,XObject>
org.apache.tuscany.sca.databinding.xstream.Node2XObject
public class Node2XObject
DOM Node --> XStream transformer
| Constructor Summary | |
|---|---|
Node2XObject()
|
|
| Method Summary | |
|---|---|
java.lang.Class<org.w3c.dom.Node> |
getSourceType()
|
java.lang.Class<XObject> |
getTargetType()
|
int |
getWeight()
Get the cost of the transformation. |
XObject |
transform(org.w3c.dom.Node source,
TransformationContext context)
Transform source data into the result type. |
| Methods inherited from class org.apache.tuscany.sca.databinding.impl.BaseTransformer |
|---|
getSourceDataBinding, getTargetDataBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.tuscany.sca.databinding.Transformer |
|---|
getSourceDataBinding, getTargetDataBinding |
| Constructor Detail |
|---|
public Node2XObject()
| Method Detail |
|---|
public XObject transform(org.w3c.dom.Node source,
TransformationContext context)
PullTransformer
transform in interface PullTransformer<org.w3c.dom.Node,XObject>source - The source datacontext - The context for the transformation
public java.lang.Class<org.w3c.dom.Node> getSourceType()
getSourceType in class BaseTransformer<org.w3c.dom.Node,XObject>public java.lang.Class<XObject> getTargetType()
getTargetType in class BaseTransformer<org.w3c.dom.Node,XObject>public int getWeight()
Transformer
getWeight in interface TransformergetWeight in class BaseTransformer<org.w3c.dom.Node,XObject>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||