1 package net.sf.saxon.event; 2 import net.sf.saxon.trans.XPathException; 3 4 import javax.xml.transform.Result ; 5 18 19 public interface Receiver extends Result { 20 21 24 25 public void setPipelineConfiguration(PipelineConfiguration config); 26 27 30 31 public PipelineConfiguration getPipelineConfiguration(); 32 33 36 37 public void setSystemId(String systemId); 38 39 42 43 public void open() throws XPathException; 44 45 48 49 public void startDocument(int properties) throws XPathException; 50 51 54 55 public void endDocument() throws XPathException; 56 57 63 64 public void setUnparsedEntity(String name, String systemID, String publicID) throws XPathException; 65 66 77 78 public void startElement(int nameCode, int typeCode, int locationId, int properties) 79 throws XPathException; 80 81 101 102 public void namespace(int namespaceCode, int properties) throws XPathException; 103 104 119 120 public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) 121 throws XPathException; 122 123 129 130 public void startContent() throws XPathException; 131 132 136 137 public void endElement() throws XPathException; 138 139 152 153 public void characters(CharSequence chars, int locationId, int properties) 154 throws XPathException; 155 156 168 169 public void processingInstruction(String name, CharSequence data, int locationId, int properties) 170 throws XPathException; 171 172 183 184 public void comment(CharSequence content, int locationId, int properties) throws XPathException; 185 186 189 190 public void close() throws XPathException; 191 192 193 194 } 195 196 | Popular Tags |