Lines Matching refs:fEventType
112 private int fEventType ;
207 fEventType = fScanner.next();
211 if (fEventType == XMLStreamConstants.START_DOCUMENT && versionStr != null && versionStr.equals("1.1")){
247 System.out.println("fEventType = " + getEventTypeString(fEventType) );
259 fEventType = 0 ;
313 return fEventType ;
324 if(fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.END_ELEMENT){
328 else if(fEventType == XMLEvent.ENTITY_REFERENCE){
332 getEventTypeString(fEventType) + " event.");
340 if(fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.END_ELEMENT){
351 if( fEventType == XMLEvent.PROCESSING_INSTRUCTION){
354 else throw new java.lang.IllegalStateException("Current state of the parser is " + getEventTypeString(fEventType) +
363 if( fEventType == XMLEvent.PROCESSING_INSTRUCTION){
366 else throw new java.lang.IllegalStateException("Current state of the parser is " + getEventTypeString(fEventType) +
378 if(fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.END_ELEMENT){
391 if( fEventType == XMLEvent.CHARACTERS || fEventType == XMLEvent.COMMENT
392 || fEventType == XMLEvent.CDATA || fEventType == XMLEvent.SPACE){
395 throw new IllegalStateException("Current state = " + getEventTypeString(fEventType)
406 if( fEventType == XMLEvent.CHARACTERS || fEventType == XMLEvent.COMMENT
407 || fEventType == XMLEvent.CDATA || fEventType == XMLEvent.SPACE){
410 throw new IllegalStateException("Current state = " + getEventTypeString(fEventType)
422 if( fEventType == XMLEvent.CHARACTERS || fEventType == XMLEvent.COMMENT || fEventType == XMLEvent.CDATA || fEventType == XMLEvent.SPACE){
425 throw new IllegalStateException("Current state = " + getEventTypeString(fEventType)
436 if(fEventType == XMLEvent.PROCESSING_INSTRUCTION){
438 } else if(fEventType == XMLEvent.COMMENT){
440 } else if(fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.END_ELEMENT){
442 } else if(fEventType == XMLEvent.CHARACTERS){
468 if(fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.END_ELEMENT) {
481 if (fEventType == -1) return false;
484 return fEventType != XMLEvent.END_DOCUMENT;
491 if(fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.END_ELEMENT
492 || fEventType == XMLEvent.ENTITY_REFERENCE || fEventType == XMLEvent.PROCESSING_INSTRUCTION
493 || fEventType == XMLEvent.COMMENT || fEventType == XMLEvent.CHARACTERS) {
505 return fEventType == XMLEvent.END_ELEMENT;
519 return fEventType == XMLEvent.START_ELEMENT;
529 if(isCharacters() || (fEventType == XMLStreamConstants.CDATA)){
551 if (fEventType != -1) {
558 fEventType = fScanner.next();
564 if (fEventType == XMLStreamConstants.START_DOCUMENT
570 return fEventType;
580 fEventType = XMLEvent.DTD;
621 fEventType = fScanner.next();
668 if( fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.ATTRIBUTE) {
686 if( fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.ATTRIBUTE) {
702 if( fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.ATTRIBUTE) {
717 if( fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.ATTRIBUTE) {
736 if( fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.ATTRIBUTE) {
754 if( fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.ATTRIBUTE) {
775 if( fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.ATTRIBUTE) {
794 if( fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.ATTRIBUTE) {
812 if( fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.ATTRIBUTE) {
929 if(fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.END_ELEMENT)
933 "when event type is "+ getEventTypeString(fEventType) + "."
958 if(fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.END_ELEMENT || fEventType == XMLEvent.NAMESPACE){
961 throw new IllegalStateException("Current event state is " + getEventTypeString(fEventType)
978 if(fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.END_ELEMENT || fEventType == XMLEvent.NAMESPACE){
984 throw new IllegalStateException("Current state " + getEventTypeString(fEventType)
1000 if(fEventType == XMLEvent.START_ELEMENT || fEventType == XMLEvent.END_ELEMENT || fEventType == XMLEvent.NAMESPACE){
1005 throw new IllegalStateException("Current state " + getEventTypeString(fEventType)
1042 if( fEventType == XMLEvent.CHARACTERS || fEventType == XMLEvent.COMMENT
1043 || fEventType == XMLEvent.CDATA || fEventType == XMLEvent.SPACE){
1045 //fEventType == XMLEvent.ENTITY_REFERENCE
1047 } else if(fEventType == XMLEvent.ENTITY_REFERENCE){
1064 else if(fEventType == XMLEvent.DTD){
1072 throw new IllegalStateException("Current state " + getEventTypeString(fEventType)
1091 if( type != fEventType)
1093 "not match with current parser event " + getEventTypeString(fEventType));
1174 if(DEBUG) pr("XMLReaderImpl#EVENT TYPE = " + fEventType ) ;
1175 if( fEventType == XMLEvent.CHARACTERS || fEventType == XMLEvent.COMMENT || fEventType == XMLEvent.CDATA) {
1177 } else if(fEventType == XMLEvent.ENTITY_REFERENCE) {
1195 if(fEventType == XMLEvent.DTD)
1209 if( (fEventType == XMLEvent.START_ELEMENT) || (fEventType == XMLEvent.ATTRIBUTE)){
1223 return fEventType == XMLEvent.CHARACTERS ;
1323 if(fEventType == XMLStreamConstants.DTD){
1350 if(fEventType == XMLStreamConstants.DTD){