Package com.sun.xml.txw2.output
Class TXWResult
- java.lang.Object
-
- 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 wrapTypedXmlWriter
into aResult
so that it can be passed toResultFactory
.This class doesn't extend from known
Result
type, so it won't work elsewhere.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description TXWResult(TypedXmlWriter writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSystemId()
TypedXmlWriter
getWriter()
void
setSystemId(java.lang.String systemId)
void
setWriter(TypedXmlWriter writer)
-
-
-
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 interfacejavax.xml.transform.Result
-
setSystemId
public void setSystemId(java.lang.String systemId)
- Specified by:
setSystemId
in interfacejavax.xml.transform.Result
-
-