Javax.Xml.Transform.TransformerFactory.NewTransformer Method

Syntax

[Android.Runtime.Register("newTransformer", "(Ljavax/xml/transform/Source;)Ljavax/xml/transform/Transformer;", "GetNewTransformer_Ljavax_xml_transform_Source_Handler")]
public abstract Transformer NewTransformer (ISource source)

Parameters

source
Source of XSLT document used to create Transformer. Examples of XML Sources include Javax.Xml.Transform.Stream.StreamSource, Javax.Xml.Transform.Sax.SAXSource and Javax.Xml.Transform.Dom.DOMSource.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Javax.Xml.Transform.TransformerConfigurationExceptionThrown if there are errors when parsing the Source or it is not possible to create a Transformer instance.

Remarks

Process the Source into a TransformerObject. The Source is an XSLT document that conforms to . Care must be taken not to use this Transformer in multiple Threads running concurrently. Different TransformerFactories can be used concurrently by different Threads.

[Android Documentation]

Requirements

Namespace: Javax.Xml.Transform
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8