1 6 7 10 package javax.xml.transform.sax; 11 12 import javax.xml.transform.Result ; 13 14 import org.xml.sax.ContentHandler ; 15 import org.xml.sax.ext.LexicalHandler ; 16 17 22 public class SAXResult implements Result { 23 24 29 public static final String FEATURE = 30 "http://javax.xml.transform.sax.SAXResult/feature"; 31 32 35 public SAXResult() { 36 } 37 38 43 public SAXResult(ContentHandler handler) { 44 setHandler(handler); 45 } 46 47 52 public void setHandler(ContentHandler handler) { 53 this.handler = handler; 54 } 55 56 61 public ContentHandler getHandler() { 62 return handler; 63 } 64 65 76 public void setLexicalHandler(LexicalHandler handler) { 77 this.lexhandler = handler; 78 } 79 80 85 public LexicalHandler getLexicalHandler() { 86 return lexhandler; 87 } 88 89 95 public void setSystemId(String systemId) { 96 this.systemId = systemId; 97 } 98 99 105 public String getSystemId() { 106 return systemId; 107 } 108 109 113 116 private ContentHandler handler; 117 118 121 private LexicalHandler lexhandler; 122 123 127 private String systemId; 128 } 129 | Popular Tags |