samples.bin.JSPTest.class Maven / Gradle / Ivy
Go to download
Jericho HTML Parser is a simple but powerful java library allowing analysis and manipulation of
parts of an HTML document, including some common server-side tags, while reproducing verbatim any
unrecognised or invalid HTML. It also provides high-level HTML form manipulation functions.
???? . ?
6 D E F G H
D I
J
K
L
M N
O P Q R
S T
U
V
W X Y
Z [
\
] F ^ _ `
5 a b c
5 d e f
g h i j k j l m
$ L
O n
$ o
L p
q r
O s t
q u
v w
x
y z {
1 |
M } ~ ()V Code LineNumberTable main ([Ljava/lang/String;)V
Exceptions ?
ignoreJSPTags "(Lau/id/jericho/lib/html/Source;)V displayAllElements
SourceFile JSPTest.java 7 8 data/jsp_test.html ? ? ? java/lang/StringBuffer Using default argument of " ? ? ? ? ? ? ? ? ? ? ? ? file: java/net/URL 7 ? java/io/InputStreamReader ? ? 7 ? ? ? ? au/id/jericho/lib/html/Source 7 ? java/io/OutputStreamWriter 7 ? ? ? ? ? BThe following elements are found without first ignoring JSP tags:
K(Notice the errors encountered by the parser in some of the HTML elements)
A @ R*******************************************************************************
?The following elements are found with first ignoring JSP tags:
? @ ? ? ? ? ? ? ? ? ? ? ? ? ? au/id/jericho/lib/html/StartTag ? ? ? ? taglib ? ? ? ? ? prefix ? ? ? ? ? ? ? ? ? au/id/jericho/lib/html/Element O------------------------------------------------------------------------------- ? ? ? ? JSPTest java/lang/Object java/lang/Exception java/lang/System err Ljava/io/PrintStream; append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; (C)Ljava/lang/StringBuffer; toString ()Ljava/lang/String; java/io/PrintStream println (Ljava/lang/String;)V java/lang/String indexOf (I)I
openStream ()Ljava/io/InputStream; (Ljava/io/InputStream;)V au/id/jericho/lib/html/Util getString $(Ljava/io/Reader;)Ljava/lang/String; (Ljava/lang/CharSequence;)V (Ljava/io/OutputStream;)V setLogWriter (Ljava/io/Writer;)V out au/id/jericho/lib/html/Tag
SERVER_COMMON Ljava/lang/String; findAllStartTags $(Ljava/lang/String;)Ljava/util/List; java/util/List iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z next ()Ljava/lang/Object; charAt (I)C parseAttributes %()Lau/id/jericho/lib/html/Attributes; !au/id/jericho/lib/html/Attributes getBegin ()I
startsWith (Ljava/lang/String;I)Z get 6(Ljava/lang/String;)Lau/id/jericho/lib/html/Attribute; au/id/jericho/lib/html/Attribute getValue ignoreWhenParsing (Ljava/util/Collection;)V findAllElements ()Ljava/util/List; getDebugInfo (Ljava/lang/Object;)V ! 5 6 7 8 9 *? ? : ; <