## Uses of Interface
javax.xml.transform.Templates

- Packages that use Templates
  Package | Description
  --- | ---
  javax.xml.transform | This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result.
  javax.xml.transform.sax | This package implements SAX2-specific transformation APIs.

- - ### Uses of Templates in javax.xml.transform

    Methods in javax.xml.transform that return Templates
    Modifier and Type | Method and Description
    --- | ---
    `abstract Templates` | TransformerFactory.`newTemplates(Source source)` Process the Source into a Templates object, which is a a compiled representation of the source.

  - ### Uses of Templates in javax.xml.transform.sax

    Methods in javax.xml.transform.sax that return Templates
    Modifier and Type | Method and Description
    --- | ---
    `Templates` | TemplatesHandler.`getTemplates()` When a TemplatesHandler object is used as a ContentHandler for the parsing of transformation instructions, it creates a Templates object, which the caller can get once the SAX events have been completed.

    Methods in javax.xml.transform.sax with parameters of type Templates
    Modifier and Type | Method and Description
    --- | ---
    `abstract TransformerHandler` | SAXTransformerFactory.`newTransformerHandler(Templates templates)` Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the Templates argument.
    `abstract XMLFilter` | SAXTransformerFactory.`newXMLFilter(Templates templates)` Create an XMLFilter, based on the Templates argument..

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2019, Oracle and/or its affiliates. All rights reserved.