From 31d794be59cb2d1bf264df79f471b0c8d5f5a457 Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:40:26 +0000 Subject: Moving to site trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882841 13f79535-47bb-0310-9956-ffa450edef68 --- .../databinding/fastinfoset/Node2FastInfoset.html | 377 +++++++++++++++++++++ 1 file changed, 377 insertions(+) create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/fastinfoset/Node2FastInfoset.html (limited to 'site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/fastinfoset/Node2FastInfoset.html') diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/fastinfoset/Node2FastInfoset.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/fastinfoset/Node2FastInfoset.html new file mode 100644 index 0000000000..499f3aeeec --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/fastinfoset/Node2FastInfoset.html @@ -0,0 +1,377 @@ + + + + + + +Node2FastInfoset + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.databinding.fastinfoset +
+Class Node2FastInfoset

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.databinding.impl.BaseTransformer<org.w3c.dom.Node,java.io.OutputStream>
+      extended by org.apache.tuscany.sca.databinding.fastinfoset.Node2FastInfoset
+
+
+
All Implemented Interfaces:
PushTransformer<org.w3c.dom.Node,java.io.OutputStream>, Transformer
+
+
+
+
public class Node2FastInfoset
extends BaseTransformer<org.w3c.dom.Node,java.io.OutputStream>
implements PushTransformer<org.w3c.dom.Node,java.io.OutputStream>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Node2FastInfoset() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  java.lang.Class<org.w3c.dom.Node>getSourceType() + +
+           
+ java.lang.StringgetTargetDataBinding() + +
+          Get the target type that this transformer transforms data into.
+protected  java.lang.Class<java.io.OutputStream>getTargetType() + +
+           
+ intgetWeight() + +
+          Get the cost of the transformation.
+ voidtransform(org.w3c.dom.Node source, + java.io.OutputStream target, + TransformationContext context) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.databinding.impl.BaseTransformer
getSourceDataBinding
+ + + + + + + +
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
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Node2FastInfoset

+
+public Node2FastInfoset()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSourceType

+
+protected java.lang.Class<org.w3c.dom.Node> getSourceType()
+
+
+
Specified by:
getSourceType in class BaseTransformer<org.w3c.dom.Node,java.io.OutputStream>
+
+
+
+
+
+
+ +

+getTargetType

+
+protected java.lang.Class<java.io.OutputStream> getTargetType()
+
+
+
Specified by:
getTargetType in class BaseTransformer<org.w3c.dom.Node,java.io.OutputStream>
+
+
+
+
+
+
+ +

+transform

+
+public void transform(org.w3c.dom.Node source,
+                      java.io.OutputStream target,
+                      TransformationContext context)
+
+
+
Specified by:
transform in interface PushTransformer<org.w3c.dom.Node,java.io.OutputStream>
+
+
+
Parameters:
source - The source data
target - The sink to receive the data
See Also:
PushTransformer.transform(java.lang.Object, java.lang.Object, org.apache.tuscany.sca.databinding.TransformationContext)
+
+
+
+ +

+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.w3c.dom.Node,java.io.OutputStream>
+
+
+ +
Returns:
An integer representing the cost of the transformation
+
+
+
+ +

+getTargetDataBinding

+
+public java.lang.String getTargetDataBinding()
+
+
Description copied from interface: Transformer
+
Get the target type that this transformer transforms data into. The type is used as the key when the transformer + is registered with TransformerRegistry. +

+

+
Specified by:
getTargetDataBinding in interface Transformer
Overrides:
getTargetDataBinding in class BaseTransformer<org.w3c.dom.Node,java.io.OutputStream>
+
+
+ +
Returns:
A key identifying the target type
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3