|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KvpParseContextIfc<P extends KvpParseContextIfc>
Used when parsing to hold state.
Modifications: $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $ $Revision: 479 $ $Author: sfloess $ $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/kvp/parser/KvpParseContextIfc.java $
Method Summary | |
---|---|
java.lang.String |
getKey()
Return the key. |
int |
getKeyColumn()
Return the column where key was found. |
int |
getKeyLine()
Return the line where key was found. |
java.lang.String |
getValue()
Return the value. |
int |
getValueColumn()
Return the column where value was found. |
int |
getValueLine()
Return the line where value was found. |
void |
populate(KvpIfc kvp)
Use the values contained within to populatete kvp . |
void |
setKey(java.lang.String key,
int line,
int column)
This method sets information about the key. |
void |
setValue(java.lang.String value,
int line,
int column)
This method sets information about the value. |
Methods inherited from interface org.jplate.foundation.FormattableIfc |
---|
toString |
Methods inherited from interface org.jplate.foundation.gof.prototype.PrototypeIfc |
---|
createCopy, createInstance |
Method Detail |
---|
java.lang.String getKey()
int getKeyLine()
key
was found.
key
was found.int getKeyColumn()
key
was found.
key
was found.void setKey(java.lang.String key, int line, int column)
key
- The key encountered.line
- The line where key
begins.column
- The column number where key begins.java.lang.String getValue()
int getValueLine()
value
was found.
value
was found.int getValueColumn()
value
was found.
value
was found.void setValue(java.lang.String value, int line, int column)
value
- The value encountered.line
- The line where value
begins.column
- The column number where value begins.void populate(KvpIfc kvp)
kvp
.
kvp
- The key/value pair to populate.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |