|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResultBuilder
Interface encapsulating a strategy to transform an XML infoset written to
a Result object into an AXIOM tree.
Implementations of this interface should be used in the following way:
ResultBuilderFactory.getResult() to get an Result instance.Result object in the invocation the XSL transformer.#getNode() to retrieve the root element of the AXIOM tree.release() when the AXIOM tree is no longer needed or when it
has been fully built.
| Method Summary | |
|---|---|
OMElement |
getNode(Charset charset)
Get the result written to the Result as an OMElement. |
Result |
getResult()
Get a Result implementation that can be used with an XSL transformer. |
void |
release()
Release any resources associated with this object. |
| Method Detail |
|---|
Result getResult()
Result implementation that can be used with an XSL transformer.
OMElement getNode(Charset charset)
Result as an OMElement.
Note that the exact behavior of this methos depends on the specified
ResultBuilderFactory.Output.
charset - The charset encoding of the data that has been written
to the Result object. This information should only
be used in conjunction with ResultBuilderFactory.Output.TEXT.
void release()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||