Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.trax
Interface Templates

All Known Implementing Classes:
  StylesheetRoot

public interface Templates

The Templates object is the runtime representation of compiled transformation instructions. Templatess must be threadsafe for a given instance over multiple threads concurrently, and are generally meant to be used multiple times in a given session.

### Open issues:

#### newTransformer

  Is newTransformer the right way to create a transformer? The alternative might be to have a factory method in the Transformer class that takes as an argument a Templates object.

Method Summary
`OutputFormat` | `getOutputFormat()` Get the properties for xsl:output.
`Transformer` | `newTransformer()` Create a new transformation context for this Templates object.

Method Detail

### newTransformer

    public Transformer newTransformer()

  Create a new transformation context for this Templates object.

### getOutputFormat

    public OutputFormat getOutputFormat()

  Get the properties for xsl:output. The object returned will be a clone of the internal values, and thus it can be mutated without mutating the Templates object, and then handed in to the process method.
  Returns:
    A OutputProperties object that may be mutated.
  See Also:
    `org.xml.org.apache.serialize.OutputFormat`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000 Apache XML Project. All Rights Reserved.