|
Java APG, Version 1.0 Author Lowell D. Thomas Copyright © Coast to Coast Research, Inc. 2011 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.coasttocoastresearch.apg.Parser.UdtCallback
com.coasttocoastresearch.apg.UdtLib.QuotedString
public static class UdtLib.QuotedString
UDT for the quoted-string.
A quoted string is a string of any printing ASCII characters
(32-126)
between beginning and ending quote characters, not including the quote character.
"Escaped" character pairs, such as \n or \" not allowed.
| Field Summary |
|---|
| Fields inherited from class com.coasttocoastresearch.apg.Parser.UdtCallback |
|---|
callbackData |
| Constructor Summary | |
|---|---|
UdtLib.QuotedString(Parser p,
char quote)
Constructor. |
|
| Method Summary | |
|---|---|
int |
callback(int offset)
The UDT function. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UdtLib.QuotedString(Parser p,
char quote)
p - the Parser object this UDT is attached to.quote - the beginning and ending quote character.| Method Detail |
|---|
public int callback(int offset)
Parser.UdtCallback
callback in class Parser.UdtCallbackoffset - offset into the input string to the first character of the parsed phrase.
L,
or -1 if no phrase was matched.
The phrase length must be in the range 0 <= L <=(n-1),
where n is the remaining number of characters in the input string.
|
Java APG, Version 1.0 Author Lowell D. Thomas Copyright © Coast to Coast Research, Inc. 2011 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||