SAXTransformerFactory.NewTransformerHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
NewTransformerHandler() |
Get a TransformerHandler object that can process SAX ContentHandler events into a Result. |
NewTransformerHandler(ISource) |
Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the transformation instructions specified by the argument. |
NewTransformerHandler(ITemplates) |
Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the Templates argument. |
NewTransformerHandler()
Get a TransformerHandler object that can process SAX ContentHandler events into a Result.
[Android.Runtime.Register("newTransformerHandler", "()Ljavax/xml/transform/sax/TransformerHandler;", "GetNewTransformerHandlerHandler")]
public abstract Javax.Xml.Transform.Sax.ITransformerHandler? NewTransformerHandler ();
[<Android.Runtime.Register("newTransformerHandler", "()Ljavax/xml/transform/sax/TransformerHandler;", "GetNewTransformerHandlerHandler")>]
abstract member NewTransformerHandler : unit -> Javax.Xml.Transform.Sax.ITransformerHandler
Returns
A non-null reference to a TransformerHandler, that may be used as a ContentHandler for SAX parse events.
- Attributes
Exceptions
If for some reason the TransformerHandler cannot be created.
Remarks
Get a TransformerHandler object that can process SAX ContentHandler events into a Result. The transformation is defined as an identity (or copy) transformation, for example to copy a series of SAX parse events into a DOM tree.
Java documentation for javax.xml.transform.sax.SAXTransformerFactory.newTransformerHandler()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NewTransformerHandler(ISource)
Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the transformation instructions specified by the argument.
[Android.Runtime.Register("newTransformerHandler", "(Ljavax/xml/transform/Source;)Ljavax/xml/transform/sax/TransformerHandler;", "GetNewTransformerHandler_Ljavax_xml_transform_Source_Handler")]
public abstract Javax.Xml.Transform.Sax.ITransformerHandler? NewTransformerHandler (Javax.Xml.Transform.ISource? src);
[<Android.Runtime.Register("newTransformerHandler", "(Ljavax/xml/transform/Source;)Ljavax/xml/transform/sax/TransformerHandler;", "GetNewTransformerHandler_Ljavax_xml_transform_Source_Handler")>]
abstract member NewTransformerHandler : Javax.Xml.Transform.ISource -> Javax.Xml.Transform.Sax.ITransformerHandler
Parameters
- src
- ISource
The Source of the transformation instructions.
Returns
TransformerHandler ready to transform SAX events.
- Attributes
Exceptions
If for some reason the TransformerHandler can not be created.
Remarks
Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the transformation instructions specified by the argument.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NewTransformerHandler(ITemplates)
Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the Templates argument.
[Android.Runtime.Register("newTransformerHandler", "(Ljavax/xml/transform/Templates;)Ljavax/xml/transform/sax/TransformerHandler;", "GetNewTransformerHandler_Ljavax_xml_transform_Templates_Handler")]
public abstract Javax.Xml.Transform.Sax.ITransformerHandler? NewTransformerHandler (Javax.Xml.Transform.ITemplates? templates);
[<Android.Runtime.Register("newTransformerHandler", "(Ljavax/xml/transform/Templates;)Ljavax/xml/transform/sax/TransformerHandler;", "GetNewTransformerHandler_Ljavax_xml_transform_Templates_Handler")>]
abstract member NewTransformerHandler : Javax.Xml.Transform.ITemplates -> Javax.Xml.Transform.Sax.ITransformerHandler
Parameters
- templates
- ITemplates
The compiled transformation instructions.
Returns
TransformerHandler ready to transform SAX events.
- Attributes
Exceptions
If for some reason the TransformerHandler can not be created.
Remarks
Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the Templates argument.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.