1 7 8 package org.cyberneko.html; 9 10 18 public interface HTMLEventInfo { 19 20 24 26 27 public int getBeginLineNumber(); 28 29 30 public int getBeginColumnNumber(); 31 32 33 public int getEndLineNumber(); 34 35 36 public int getEndColumnNumber(); 37 38 40 41 public boolean isSynthesized(); 42 43 48 public static class SynthesizedItem 49 implements HTMLEventInfo { 50 51 55 57 58 public int getBeginLineNumber() { 59 return -1; 60 } 62 63 public int getBeginColumnNumber() { 64 return -1; 65 } 67 68 public int getEndLineNumber() { 69 return -1; 70 } 72 73 public int getEndColumnNumber() { 74 return -1; 75 } 77 79 80 public boolean isSynthesized() { 81 return true; 82 } 84 88 89 public String toString() { 90 return "synthesized"; 91 } 93 } 95 } | Popular Tags |