1 4 package org.znerd.xmlenc; 5 6 import java.io.IOException ; 7 import java.io.UnsupportedEncodingException ; 8 9 192 public interface XMLEventListener 193 extends XMLEventListenerStates { 194 195 199 void reset(); 200 201 210 XMLEventListenerState getState() 211 throws UnsupportedOperationException ; 212 213 236 void setState(XMLEventListenerState newState, String [] newElementStack) 237 throws IllegalArgumentException ; 238 239 249 void declaration() throws IllegalStateException , IOException ; 250 251 299 void dtd(String name, String publicID, String systemID) 300 throws IllegalStateException , IllegalArgumentException , InvalidXMLException, IOException ; 301 302 323 void startTag(String type) 324 throws IllegalStateException , IllegalArgumentException , InvalidXMLException, IOException ; 325 326 348 void attribute(String name, String value) 349 throws IllegalStateException , IllegalArgumentException , InvalidXMLException, IOException ; 350 351 362 void endTag() 363 throws IllegalStateException , IOException ; 364 365 385 void pcdata(String text) 386 throws IllegalStateException , IllegalArgumentException , InvalidXMLException, IOException ; 387 388 422 void pcdata(char[] ch, int start, int length) 423 throws IllegalStateException , IllegalArgumentException , IndexOutOfBoundsException , InvalidXMLException, IOException ; 424 425 459 void cdata(String text) 460 throws IllegalStateException , IllegalArgumentException , InvalidXMLException, IOException ; 461 462 491 void whitespace(String whitespace) 492 throws IllegalStateException , IllegalArgumentException , InvalidXMLException, IOException ; 493 494 537 void whitespace(char[] ch, int start, int length) 538 throws IllegalStateException , IllegalArgumentException , IndexOutOfBoundsException , InvalidXMLException, IOException ; 539 540 565 void comment(String text) 566 throws IllegalStateException , IllegalArgumentException , InvalidXMLException, IOException ; 567 568 602 void pi(String target, String instruction) 603 throws IllegalStateException , IllegalArgumentException , InvalidXMLException, IOException ; 604 605 618 void endDocument() 619 throws IllegalStateException , IOException ; 620 } 621 | Popular Tags |