Team LiB
Previous Section Next Section

Resultjavax.xml.transform

Java 1.4

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( )

    Team LiB
    Previous Section Next Section