1 package javax.xml.stream; 2 3 import java.io.Reader ; 4 import javax.xml.namespace.NamespaceContext ; 5 import javax.xml.namespace.QName ; 6 7 136 public interface XMLStreamReader extends XMLStreamConstants { 137 143 public Object getProperty(java.lang.String name) throws java.lang.IllegalArgumentException ; 144 145 177 public int next() throws XMLStreamException; 178 179 188 public void require(int type, String namespaceURI, String localName) throws XMLStreamException; 189 190 233 public String getElementText() throws XMLStreamException; 234 235 271 public int nextTag() throws XMLStreamException; 272 273 281 public boolean hasNext() throws XMLStreamException; 282 283 288 public void close() throws XMLStreamException; 289 290 304 public String getNamespaceURI(String prefix); 305 306 310 public boolean isStartElement(); 311 312 316 public boolean isEndElement(); 317 318 322 public boolean isCharacters(); 323 324 329 public boolean isWhiteSpace(); 330 331 332 342 public String getAttributeValue(String namespaceURI, 343 String localName); 344 345 353 public int getAttributeCount(); 354 355 361 public QName getAttributeName(int index); 362 363 370 public String getAttributeNamespace(int index); 371 372 379 public String getAttributeLocalName(int index); 380 381 388 public String getAttributePrefix(int index); 389 390 397 public String getAttributeType(int index); 398 399 406 public String getAttributeValue(int index); 407 408 415 public boolean isAttributeSpecified(int index); 416 417 426 public int getNamespaceCount(); 427 428 437 public String getNamespacePrefix(int index); 438 439 447 public String getNamespaceURI(int index); 448 449 455 public NamespaceContext getNamespaceContext(); 456 457 467 469 472 474 478 public int getEventType(); 479 480 493 public String getText(); 494 495 505 public char[] getTextCharacters(); 506 507 544 public int getTextCharacters(int sourceStart, char[] target, int targetStart, int length) 545 throws XMLStreamException; 546 547 558 560 566 public int getTextStart(); 567 568 574 public int getTextLength(); 575 576 580 public String getEncoding(); 581 582 587 public boolean hasText(); 588 589 597 public Location getLocation(); 598 599 605 public QName getName(); 606 607 617 public String getLocalName(); 618 619 623 public boolean hasName(); 624 625 631 public String getNamespaceURI(); 632 633 637 public String getPrefix(); 638 639 644 public String getVersion(); 645 646 650 public boolean isStandalone(); 651 652 656 public boolean standaloneSet(); 657 658 663 public String getCharacterEncodingScheme(); 664 665 669 public String getPITarget(); 670 671 675 public String getPIData(); 676 } 677 678 679 680 681 | Popular Tags |