|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.named.NamedArray | +--xbn.template.TDOSArray
Manage multiple TemplateDataOrStrings. See TemplateDataOrStrings.
Source code: TDOSArray.java
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
TDOSArray(String s_name,
TemplateDataOrString[] a_tdos)
Create a TDOSArray. |
|
TDOSArray(String s_name,
TemplateDataOrString[] a_tdos,
boolean b_listNames)
Create a TDOSArray. |
|
TDOSArray(TemplateDataOrString[] a_tdos)
Create a TDOSArray. |
Method Summary | |
String |
getString(int i_dx)
Get the string from the requested TemplateDataOrString. |
TemplateData |
getTemplateData(int i_dx)
Get the TemplateData from the requested TemplateDataOrString. |
TemplateDataOrString |
getTemplateDataOrString(int i_dx)
Get the requested TemplateDataOrString for direct manipulation. |
TemplateDataOrString |
getTemplateDataOrString(String s_name)
Get the requested TemplateDataOrString for direct manipulation. |
boolean |
isString(int i_dx)
Does the requested TemplateDataOrString have no gaps? |
boolean |
isTemplate(int i_dx)
Does the requested TemplateDataOrString have a gap? |
Methods inherited from class xbn.named.NamedArray |
doesExist, getAOSLHashtable, getAOSLookup, getAPNamed, getArrIdx, getLength, getName, getName, getNamed, getNamed, getNameList, getNameList, getNameList, getNameList, throwAXWithName, toString, toString |
Methods inherited from class xbn.XBNObject |
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TDOSArray(TemplateDataOrString[] a_tdos)
Create a TDOSArray.
Equal to NamedArray(null, a_tdos)
public TDOSArray(String s_name, TemplateDataOrString[] a_tdos)
Create a TDOSArray.
Equal to NamedArray(s_name, a_tdos)
public TDOSArray(String s_name, TemplateDataOrString[] a_tdos, boolean b_listNames)
Create a TDOSArray.
Equal to NamedArray(s_name, a_tdos, b_listNames)
Method Detail |
public TemplateDataOrString getTemplateDataOrString(String s_name)
Get the requested TemplateDataOrString for direct manipulation.
Equal to (TemplateDataOrString)getNamed(s_name)
s_name
- The name of the desired level. Must equal the name of an existing TemplateDataOrString contained in this TDOSArray.public TemplateDataOrString getTemplateDataOrString(int i_dx)
Get the requested TemplateDataOrString for direct manipulation.
Equal to (TemplateDataOrString)getNamed(i_dx)
i_dx
- The array index of the TemplateDataOrString object. Must be between 0 and [NamedArray.getCount - 1], inclusive.public final boolean isTemplate(int i_dx)
Does the requested TemplateDataOrString have a gap?
getTemplateDataOrString(i_dx).isTemplate()
public final boolean isString(int i_dx)
Does the requested TemplateDataOrString have no gaps?
getTemplateDataOrString(i_dx).isString()
public final TemplateData getTemplateData(int i_dx)
Get the TemplateData from the requested TemplateDataOrString.
getTemplateDataOrString(i_dx).getTemplateData()
public final String getString(int i_dx)
Get the string from the requested TemplateDataOrString.
getTemplateDataOrString(i_dx).getString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
http://sourceforge.net/projects/xbnjava