|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--intradoc.common.Parser
Class performs basic parsing activities. In particular it is smart about finding HTML tags and server side scripting elements.
| Constructor Summary | |
Parser()
|
|
| Method Summary | |
static java.lang.String |
findAnyTag(java.io.Reader reader,
ParseOutput parseOutput)
Finds non-specified html tags. |
static boolean |
findCharacter(java.io.Reader reader,
ParseOutput parseOutput,
char ch,
boolean noStop)
Searches through an input reader for a particular character. |
static int |
findCharacters(java.io.Reader reader,
ParseOutput parseOutput,
char[] chs,
boolean noStop)
Version of service that finds a match for one of a list of characters. |
static int |
findCharactersEx(java.io.Reader reader,
ParseOutput parseOutput,
char[] chs,
char[] startCheck,
boolean noStop)
Version of service that finds a match for one of a list of characters. |
static boolean |
findGenericTagPrefix(java.io.Reader reader,
ParseOutput parseOutput,
char[] beginChars,
char[] endChars,
char[] tag)
Looks for a general tag prefix where the first character can be any of a set of characters and the last character can be any of a set of characters. |
static int |
findHtmlPrefixTags(java.io.Reader reader,
ParseOutput parseOutput,
char[][] tags)
Looks for a match in an array of strings. |
static boolean |
findHtmlTagPrefix(java.io.Reader reader,
ParseOutput parseOutput,
char[] tag)
Looks for a string of the form |
static boolean |
findScriptTag(java.io.Reader reader,
ParseOutput parseOutput,
char ch)
Looks for script tag. |
protected static int |
removeNextCharacter(java.io.Reader reader,
ParseOutput parseOutput)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Parser()
| Method Detail |
public static boolean findCharacter(java.io.Reader reader,
ParseOutput parseOutput,
char ch,
boolean noStop)
throws java.io.IOException,
ParseSyntaxException
java.io.IOException
ParseSyntaxException
public static int findCharacters(java.io.Reader reader,
ParseOutput parseOutput,
char[] chs,
boolean noStop)
throws java.io.IOException
java.io.IOException
public static int findCharactersEx(java.io.Reader reader,
ParseOutput parseOutput,
char[] chs,
char[] startCheck,
boolean noStop)
throws java.io.IOException
java.io.IOException
public static boolean findHtmlTagPrefix(java.io.Reader reader,
ParseOutput parseOutput,
char[] tag)
throws java.io.IOException,
ParseSyntaxException
java.io.IOException
ParseSyntaxException
public static boolean findGenericTagPrefix(java.io.Reader reader,
ParseOutput parseOutput,
char[] beginChars,
char[] endChars,
char[] tag)
throws java.io.IOException,
ParseSyntaxException
java.io.IOException
ParseSyntaxException
public static int findHtmlPrefixTags(java.io.Reader reader,
ParseOutput parseOutput,
char[][] tags)
throws java.io.IOException,
ParseSyntaxException
java.io.IOException
ParseSyntaxException
public static boolean findScriptTag(java.io.Reader reader,
ParseOutput parseOutput,
char ch)
throws java.io.IOException,
ParseSyntaxException
java.io.IOException
ParseSyntaxException
protected static int removeNextCharacter(java.io.Reader reader,
ParseOutput parseOutput)
throws java.io.IOException
java.io.IOException
public static java.lang.String findAnyTag(java.io.Reader reader,
ParseOutput parseOutput)
throws java.io.IOException,
ParseSyntaxException
java.io.IOException
ParseSyntaxException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
(c) 1996-2005 All rights reserved. Stellent, Inc. |