| java.lang.Object com.bluecast.xml.XMLDeclParser
XMLDeclParser | final class XMLDeclParser (Code) | | This class is a scanner generated by
JFlex 1.3.5
on 7/11/04 2:35 PM from the specification file
file:/C:/Library/Projects/piccolo/src/com/bluecast/xml/XMLDeclParser.flex
|
Method Summary | |
public int | getCharsRead() | public String | getXMLEncoding() | public String | getXMLVersion() | public boolean | isXMLStandalone() | public boolean | isXMLStandaloneDeclared() | public int | parse() Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs. | public void | reset(char[] buf, int off, int len) | final public void | yybegin(int newState) | final public int | yybufferLeft() Returns the number of characters remaining in the buffer,
not including the matched text, before more
characters must be read from the input Reader. | final public char | yycharat(int pos) Returns the character at position pos from the
matched text.
It is equivalent to yytext().charAt(pos), but faster
Parameters: pos - the position of the character to fetch.A value from 0 to yylength()-1. | final public void | yyclose() Closes the input stream. | final public int | yylength() Returns the length of the matched text region. | final public void | yynextAction() Accept the current action as completed and update line, column and
character counters accordingly. | final public int | yynextBufferChar() Extends the matched text by one character and returns it. | final public int | yynextChar() Extends the matched text by one character and returns it. | final public void | yyreset(java.io.Reader reader) Closes the current stream, and resets the
scanner to read from a new input stream. | final public void | yyreset(char[] buffer, int off, int len) | final public void | yyskip(int n) Skips past the specified number of characters. | final public int | yystate() Returns the current lexical state. | final public String | yytext() Returns the text matched by the current regular expression. | final public String | yytext(int offset, int length) Returns the text matched by the current regular expression. |
ENCODING | final public static int ENCODING(Code) | | |
GOT_ENCODING | final public static int GOT_ENCODING(Code) | | lexical states
|
GOT_STANDALONE | final public static int GOT_STANDALONE(Code) | | |
GOT_VERSION | final public static int GOT_VERSION(Code) | | |
NO_DECLARATION | final public static int NO_DECLARATION(Code) | | |
STANDALONE | final public static int STANDALONE(Code) | | |
SUCCESS | final public static int SUCCESS(Code) | | |
VERSION | final public static int VERSION(Code) | | |
XML_DECL | final public static int XML_DECL(Code) | | |
YYEOF | final public static int YYEOF(Code) | | This character denotes the end of file
|
YYINITIAL | final public static int YYINITIAL(Code) | | |
XMLDeclParser | public XMLDeclParser(char[] buf, int off, int len) throws IOException(Code) | | |
XMLDeclParser | public XMLDeclParser()(Code) | | |
XMLDeclParser | XMLDeclParser(java.io.Reader in)(Code) | | Creates a new scanner
There is also a java.io.InputStream version of this constructor.
Parameters: in - the java.io.Reader to read input from. |
XMLDeclParser | XMLDeclParser(java.io.InputStream in)(Code) | | Creates a new scanner.
There is also java.io.Reader version of this constructor.
Parameters: in - the java.io.Inputstream to read input from. |
getCharsRead | public int getCharsRead()(Code) | | |
isXMLStandalone | public boolean isXMLStandalone()(Code) | | |
isXMLStandaloneDeclared | public boolean isXMLStandaloneDeclared()(Code) | | |
yybegin | final public void yybegin(int newState)(Code) | | Enters a new lexical state
Parameters: newState - the new lexical state |
yybufferLeft | final public int yybufferLeft()(Code) | | Returns the number of characters remaining in the buffer,
not including the matched text, before more
characters must be read from the input Reader.
|
yycharat | final public char yycharat(int pos)(Code) | | Returns the character at position pos from the
matched text.
It is equivalent to yytext().charAt(pos), but faster
Parameters: pos - the position of the character to fetch.A value from 0 to yylength()-1. the character at position pos |
yylength | final public int yylength()(Code) | | Returns the length of the matched text region.
|
yynextAction | final public void yynextAction()(Code) | | Accept the current action as completed and update line, column and
character counters accordingly. Used in conjunction with
yynextChar().
See Also: XMLDeclParser.yynextChar() |
yynextBufferChar | final public int yynextBufferChar() throws IOException(Code) | | Extends the matched text by one character and returns it.
Similar to yynextChar(), but the caller guarantees [by using
yybufferLeft()] that there is at least one more character in the
buffer.
|
yynextChar | final public int yynextChar() throws IOException(Code) | | Extends the matched text by one character and returns it.
|
yyskip | final public void yyskip(int n)(Code) | | Skips past the specified number of characters.
These characters will be included in line, column, and character
counting, but they will not be used for matching.
Parameters: n - the number of characters to skip |
yystate | final public int yystate()(Code) | | Returns the current lexical state.
|
yytext | final public String yytext()(Code) | | Returns the text matched by the current regular expression.
|
yytext | final public String yytext(int offset, int length)(Code) | | Returns the text matched by the current regular expression.
Parameters: start - starting offset from the beginning of the current expression. Parameters: length - number of characters to include in the string. |
|
|