1 16 17 package org.apache.xerces.xni; 18 19 import org.apache.xerces.xni.parser.XMLDocumentSource; 20 21 31 public interface XMLDocumentHandler { 32 33 37 64 public void startDocument(XMLLocator locator, String encoding, 65 NamespaceContext namespaceContext, 66 Augmentations augs) 67 throws XNIException; 68 69 83 public void xmlDecl(String version, String encoding, String standalone, Augmentations augs) 84 throws XNIException; 85 86 100 public void doctypeDecl(String rootElement, String publicId, String systemId, Augmentations augs) 101 throws XNIException; 102 103 112 public void comment(XMLString text, Augmentations augs) throws XNIException; 113 114 132 public void processingInstruction(String target, XMLString data, Augmentations augs) 133 throws XNIException; 134 135 145 public void startElement(QName element, XMLAttributes attributes, Augmentations augs) 146 throws XNIException; 147 148 158 public void emptyElement(QName element, XMLAttributes attributes, Augmentations augs) 159 throws XNIException; 160 161 178 public void startGeneralEntity(String name, 179 XMLResourceIdentifier identifier, 180 String encoding, 181 Augmentations augs) throws XNIException; 182 183 201 public void textDecl(String version, String encoding, Augmentations augs) throws XNIException; 202 203 215 public void endGeneralEntity(String name, Augmentations augs) throws XNIException; 216 217 226 public void characters(XMLString text, Augmentations augs) throws XNIException; 227 228 242 public void ignorableWhitespace(XMLString text, Augmentations augs) throws XNIException; 243 244 253 public void endElement(QName element, Augmentations augs) throws XNIException; 254 255 263 public void startCDATA(Augmentations augs) throws XNIException; 264 265 273 public void endCDATA(Augmentations augs) throws XNIException; 274 275 283 public void endDocument(Augmentations augs) throws XNIException; 284 285 286 287 public void setDocumentSource(XMLDocumentSource source); 288 289 290 291 public XMLDocumentSource getDocumentSource(); 292 293 } | Popular Tags |