Name
Result
Synopsis
This interface
represents,
in a very general way, the result of an XML transformation.
setSystemId( ) specifies a the system identifier
of the result as a URL. This is useful when the result is to be
written as a file, but it can also be useful for error reporting and
for resolution of relative URLs even when the
Result object does not represent a file. All other
methods related to the result are the responsibility of the concrete
implementation of this interface. See the
DOMResult, SAXResult and
StreamResult implementations in the three
subpackages of this package.
public interface Result { // Public Constants public static final String PI_DISABLE_OUTPUT_ESCAPING; ="javax.xml.transform.disable-output-escaping" public static final String PI_ENABLE_OUTPUT_ESCAPING; ="javax.xml.transform.enable-output-escaping" // Public Instance Methods String getSystemId( ); void setSystemId(String systemId); }
Implementations
javax.xml.transform.dom.DOMResult,
javax.xml.transform.sax.SAXResult,
javax.xml.transform.stream.StreamResult
Passed To
Transformer.transform( ),
javax.xml.transform.sax.TransformerHandler.setResult(
), javax.xml.validation.Validator.validate(
)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access