1 28 29 package net.n3.nanoxml; 30 31 import java.util.Properties ; 32 33 39 public interface IXMLValidator 40 { 41 42 47 public void setParameterEntityResolver(IXMLEntityResolver resolver); 48 49 54 public IXMLEntityResolver getParameterEntityResolver(); 55 56 66 public void parseDTD(String publicID, IXMLReader reader, IXMLEntityResolver entityResolver, 67 boolean external) throws Exception ; 68 69 80 public void elementStarted(String name, String nsPrefix, String nsSystemId, String systemId, 81 int lineNr) throws Exception ; 82 83 94 public void elementEnded(String name, String nsPrefix, String nsSystemId, String systemId, 95 int lineNr) throws Exception ; 96 97 109 public void attributeAdded(String key, String nsPrefix, String nsSystemId, String value, 110 String systemId, int lineNr) throws Exception ; 111 112 126 public void elementAttributesProcessed(String name, String nsPrefix, String nsSystemId, 127 Properties extraAttributes, String systemId, int lineNr) throws Exception ; 128 129 137 public void PCDataAdded(String systemId, int lineNr) throws Exception ; 138 139 } 140 | Popular Tags |