Result


Result javax.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( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net