SAXResult


SAXResult javax.xml.transform.sax

Java 1.4

This class is a Result implementation that describes the content of a transformed document by triggering the methods of the specified ContentHandler . That is, a SAXResult acts like a org.xml.sax.SAXReader object, invoking the methods of the specified org.xml.sax.ContentHandler object as it parses the transformed document. You may also provide a org.xml.sax.ext.LexicalHandler object whose methods will be invoked by the SAXResult by calling setLexicalHandler , or by suppling a ContentHandler object that also implements the LexicalHandler interface.

Figure 20-11. javax.xml.transform.sax.SAXResult

 public class  SAXResult  implements javax.xml.transform.Result {  // Public Constructors  public  SAXResult  ( );        public  SAXResult  (org.xml.sax.ContentHandler  handler  );  // Public Constants  public static final String  FEATURE  ;  =  "http://javax.xml.transform.sax.SAXResult/feature"  // Public Instance Methods  public org.xml.sax.ContentHandler  getHandler  ( );  default:null  public org.xml.sax.ext.LexicalHandler  getLexicalHandler  ( );  default:null  public void  setHandler  (org.xml.sax.ContentHandler  handler  );        public void  setLexicalHandler  (org.xml.sax.ext.LexicalHandler  handler  );  // Methods Implementing Result  public String  getSystemId  ( );  default:null  public void  setSystemId  (String  systemId  );   } 



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