Top Description Fields Constructors Methods
com.sun.xml.txw2.output

public Class TXWResult

extends Object
implements Result
Class Inheritance
All Implemented Interfaces
javax.xml.transform.Result
Imports
com.sun.xml.txw2.TypedXmlWriter, javax.xml.transform.Result

Allow you to wrap TypedXmlWriter into a Result so that it can be passed to ResultFactory.

This class doesn't extend from known Result type, so it won't work elsewhere.

Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private String
private TypedXmlWriter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getSystemId()

Implements javax.xml.transform.Result.getSystemId.

Get the system identifier that was set with setSystemId.

public TypedXmlWriter
public void
setSystemId(String systemId)

Implements javax.xml.transform.Result.setSystemId.

Set the system identifier for this Result.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

systemIdback to summary
private String systemId
writerback to summary
private TypedXmlWriter writer

Constructor Detail

TXWResultback to summary
public TXWResult(TypedXmlWriter writer)

Method Detail

getSystemIdback to summary
public String getSystemId()

Implements javax.xml.transform.Result.getSystemId.

Doc from javax.xml.transform.Result.getSystemId.

Get the system identifier that was set with setSystemId.

Annotations
@Override
getWriterback to summary
public TypedXmlWriter getWriter()
setSystemIdback to summary
public void setSystemId(String systemId)

Implements javax.xml.transform.Result.setSystemId.

Doc from javax.xml.transform.Result.setSystemId.

Set the system identifier for this Result.

If the Result is not to be written to a file, the system identifier is optional. The application may still want to provide one, however, for use in error messages and warnings, or to resolve relative output identifiers.

Annotations
@Override
setWriterback to summary
public void setWriter(TypedXmlWriter writer)