1 package javax.xml.stream.events; 2 3 import java.io.Writer ; 4 import javax.xml.namespace.QName ; 5 25 public interface XMLEvent extends javax.xml.stream.XMLStreamConstants { 26 27 40 public int getEventType(); 41 42 48 javax.xml.stream.Location getLocation(); 49 50 54 public boolean isStartElement(); 55 56 60 public boolean isAttribute(); 61 62 66 public boolean isNamespace(); 67 68 69 73 public boolean isEndElement(); 74 75 79 public boolean isEntityReference(); 80 81 85 public boolean isProcessingInstruction(); 86 87 91 public boolean isCharacters(); 92 93 97 public boolean isStartDocument(); 98 99 103 public boolean isEndDocument(); 104 105 109 public StartElement asStartElement(); 110 111 115 public EndElement asEndElement(); 116 117 121 public Characters asCharacters(); 122 123 129 public QName getSchemaType(); 130 131 147 public void writeAsEncodedUnicode(Writer writer) 148 throws javax.xml.stream.XMLStreamException; 149 150 } 151 152 | Popular Tags |