com.sun.xml.txw2.output
Class TXWResult

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

public class TXWResult
extends Object
implements 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
 String getSystemId()
           
 TypedXmlWriter getWriter()
           
 void setSystemId(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 String getSystemId()
Specified by:
getSystemId in interface Result

setSystemId

public void setSystemId(String systemId)
Specified by:
setSystemId in interface Result


Copyright © 2013 Oracle. All Rights Reserved.