|
HOME | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ireasoning.protocol.tl1.TL1Section
public class TL1Section
This class represents section in TL1 payload.
TL1Line
,
Serialized FormConstructor Summary | |
---|---|
TL1Section(java.lang.String section)
Constructs a new TL1Section |
Method Summary | |
---|---|
TL1Field |
getField(int index)
Returns the field at the specified position in this section. |
int |
getFieldCount()
Returns the number of fileds contained in this section |
TL1Field[] |
getFields()
Returns an array of fields contained in this section. |
java.lang.String |
lookupValue(java.lang.String name)
Returns the value corresponding to passed name, or name itself if it has no value. |
java.lang.String |
toString()
Returns the string representation of this class |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TL1Section(java.lang.String section)
section
- the raw section stringMethod Detail |
---|
public TL1Field[] getFields()
public TL1Field getField(int index)
java.lang.IndexOutOfBoundsException
- if index is out of range (index
< 0 || index >= getFieldCount()).public int getFieldCount()
public java.lang.String lookupValue(java.lang.String name)
public java.lang.String toString()
toString
in class java.lang.Object
|
HOME | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |