com.sun.xml.txw2.output
Class TXWResult

java.lang.Object
  extended by com.sun.xml.txw2.output.TXWResult
All Implemented Interfaces:
javax.xml.transform.Result

public class TXWResult
extends java.lang.Object
implements 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
 
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
 
Constructor Summary
TXWResult(TypedXmlWriter writer)
           
 
Method Summary
 java.lang.String getSystemId()
           
 TypedXmlWriter getWriter()
           
 void setSystemId(java.lang.String systemId)
           
 void setWriter(TypedXmlWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TXWResult

public TXWResult(TypedXmlWriter writer)
Method Detail

getWriter

public TypedXmlWriter getWriter()

setWriter

public void setWriter(TypedXmlWriter writer)

getSystemId

public java.lang.String getSystemId()
Specified by:
getSystemId in interface javax.xml.transform.Result

setSystemId

public void setSystemId(java.lang.String systemId)
Specified by:
setSystemId in interface javax.xml.transform.Result


Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.