|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.databinding.impl.BaseTransformer<org.w3c.dom.Node,XmlObject> org.apache.tuscany.sca.databinding.xmlbeans.Node2XmlObject
public class Node2XmlObject
Transforms a DOM Node to an XML Object.
Constructor Summary | |
---|---|
Node2XmlObject()
|
Method Summary | |
---|---|
protected java.lang.Class<org.w3c.dom.Node> |
getSourceType()
|
protected java.lang.Class<XmlObject> |
getTargetType()
|
int |
getWeight()
Get the cost of the transformation. |
XmlObject |
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 Node2XmlObject()
Method Detail |
---|
public XmlObject transform(org.w3c.dom.Node source, TransformationContext context)
PullTransformer
transform
in interface PullTransformer<org.w3c.dom.Node,XmlObject>
source
- The source datacontext
- The context for the transformation
protected java.lang.Class<XmlObject> getTargetType()
getTargetType
in class BaseTransformer<org.w3c.dom.Node,XmlObject>
protected java.lang.Class<org.w3c.dom.Node> getSourceType()
getSourceType
in class BaseTransformer<org.w3c.dom.Node,XmlObject>
public int getWeight()
Transformer
getWeight
in interface Transformer
getWeight
in class BaseTransformer<org.w3c.dom.Node,XmlObject>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |