1 57 58 package com.sun.org.apache.xerces.internal.xni; 59 60 import com.sun.org.apache.xerces.internal.xni.parser.XMLDocumentSource; 61 62 72 public interface XMLDocumentHandler { 73 74 78 105 public void startDocument(XMLLocator locator, String encoding, 106 NamespaceContext namespaceContext, 107 Augmentations augs) 108 throws XNIException; 109 110 124 public void xmlDecl(String version, String encoding, String standalone, Augmentations augs) 125 throws XNIException; 126 127 141 public void doctypeDecl(String rootElement, String publicId, String systemId, Augmentations augs) 142 throws XNIException; 143 144 153 public void comment(XMLString text, Augmentations augs) throws XNIException; 154 155 173 public void processingInstruction(String target, XMLString data, Augmentations augs) 174 throws XNIException; 175 176 186 public void startElement(QName element, XMLAttributes attributes, Augmentations augs) 187 throws XNIException; 188 189 199 public void emptyElement(QName element, XMLAttributes attributes, Augmentations augs) 200 throws XNIException; 201 202 219 public void startGeneralEntity(String name, 220 XMLResourceIdentifier identifier, 221 String encoding, 222 Augmentations augs) throws XNIException; 223 224 242 public void textDecl(String version, String encoding, Augmentations augs) throws XNIException; 243 244 256 public void endGeneralEntity(String name, Augmentations augs) throws XNIException; 257 258 267 public void characters(XMLString text, Augmentations augs) throws XNIException; 268 269 283 public void ignorableWhitespace(XMLString text, Augmentations augs) throws XNIException; 284 285 294 public void endElement(QName element, Augmentations augs) throws XNIException; 295 296 304 public void startCDATA(Augmentations augs) throws XNIException; 305 306 314 public void endCDATA(Augmentations augs) throws XNIException; 315 316 324 public void endDocument(Augmentations augs) throws XNIException; 325 326 327 328 public void setDocumentSource(XMLDocumentSource source); 329 330 331 332 public XMLDocumentSource getDocumentSource(); 333 334 } | Popular Tags |