Package org.codehaus.stax2.io
Class Stax2FileResult
java.lang.Object
org.codehaus.stax2.io.Stax2Result
org.codehaus.stax2.io.Stax2ReferentialResult
org.codehaus.stax2.io.Stax2FileResult
- All Implemented Interfaces:
Result
Simple implementation of
Stax2ReferentialResult, which refers
to the specific file.-
Field Summary
Fields inherited from class org.codehaus.stax2.io.Stax2Result
mEncoding, mPublicId, mSystemIdFields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method creates anOutputStreamvia which underlying output target can be written to.This method creates aWritervia which underlying output target can be written to.getFile()Methods inherited from class org.codehaus.stax2.io.Stax2Result
getEncoding, getPublicId, getSystemId, setEncoding, setPublicId, setSystemId
-
Constructor Details
-
Stax2FileResult
-
-
Method Details
-
constructWriter
Description copied from class:Stax2ResultThis method creates aWritervia which underlying output target can be written to. Note that caller is responsible for closing that Writer when it is done reading it.- Specified by:
constructWriterin classStax2ReferentialResult- Throws:
IOException
-
constructOutputStream
Description copied from class:Stax2ResultThis method creates anOutputStreamvia which underlying output target can be written to. Note that caller is responsible for closing that OutputStream when it is done reading it- Specified by:
constructOutputStreamin classStax2ReferentialResult- Throws:
IOException
-
getFile
-