public class Stax2FileResult extends Stax2ReferentialResult
Stax2ReferentialResult
, which refers
to the specific file.mEncoding, mPublicId, mSystemId
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
Stax2FileResult(File f) |
Modifier and Type | Method and Description |
---|---|
OutputStream |
constructOutputStream()
This method creates an
OutputStream via which underlying output
target can be written to. |
Writer |
constructWriter()
This method creates a
Writer via which underlying output
target can be written to. |
File |
getFile() |
getEncoding, getPublicId, getSystemId, setEncoding, setPublicId, setSystemId
public Stax2FileResult(File f)
public Writer constructWriter() throws IOException
Stax2Result
Writer
via which underlying output
target can be written to. Note that caller is responsible for
closing that Writer when it is done reading it.constructWriter
in class Stax2ReferentialResult
IOException
public OutputStream constructOutputStream() throws IOException
Stax2Result
OutputStream
via which underlying output
target can be written to. Note that caller is responsible for
closing that OutputStream when it is done reading itconstructOutputStream
in class Stax2ReferentialResult
IOException
public File getFile()
Copyright © 2015 fasterxml.com. All Rights Reserved.