xbn.array.primitive
Class PASString

java.lang.Object
  |
  +--xbn.XBNObject
        |
        +--xbn.util.XBNLocked
              |
              +--xbn.array.primitive.PrimitiveArray
                    |
                    +--xbn.array.primitive.PrimitiveArrayString
                          |
                          +--xbn.array.primitive.PASAOObject
                                |
                                +--xbn.array.primitive.PASString
All Implemented Interfaces:
LockOneWay

public class PASString
extends PASAOObject

A PASAOObject that wraps around an array of java.lang.Strings, representing the string value.

Source code:  PASString.java.


Field Summary
static String sPASS
          To shorten code and Javadoc.
 
Fields inherited from class xbn.array.primitive.PASAOObject
sPASAOO
 
Fields inherited from class xbn.XBNObject
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP
 
Constructor Summary
PASString()
          Create a PASString with default values.
PASString(String[] a_string)
          Create a PASString.
PASString(String[] a_string, boolean b_lock)
          Create a PASString.
PASString(String[] a_string, PARString par_string)
          Create a PASString.
PASString(String[] a_string, PARString par_string, boolean b_lock)
          Create a PASString.
PASString(String s_fqExtendingClass, String[] a_string)
          Create a PASString.
PASString(String s_fqExtendingClass, String[] a_string, boolean b_lock)
          Create a PASString.
PASString(String s_fqExtendingClass, String[] a_string, PARString par_string)
          Create a PASString.
PASString(String s_fqExtendingClass, String[] a_string, PARString par_string, boolean b_lock)
          Create an PASString.
 
Method Summary
 String[] getAOString()
          Get the String array for direct manipulation.
 String getString(int i_dx)
          Get the String at the requested array index.
 
Methods inherited from class xbn.array.primitive.PASAOObject
appendTSList, getAOObject, getLength, getObject, getPASNamed, getPASString, isLocked, isNull, isNull, lock
 
Methods inherited from class xbn.array.primitive.PrimitiveArrayString
areLmntsEqual, areLmntsEqual, getPARString, isValid
 
Methods inherited from class xbn.array.primitive.PrimitiveArray
areLmntsEqual, crashIfBad, crashIfBad, declareNoViolation, getFQClassName, getList, getList, getList, getList, getNewAOSOBString, getNewAOSOBStringBuffer, getNewAOString, getPAViolation, getPrimitiveArrayRule, getSOBString, getSOBStringBuffer, isValid, setPAViolation, throwAXIllegal, throwLmntsEqualAioobx, wasValidated
 
Methods inherited from class xbn.util.XBNLocked
throwLX, throwLX, throwLXIfLocked, throwLXIfLocked, throwLXIfLocked, throwLXIfUnlocked
 
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, toString, wait, wait, wait
 

Field Detail

sPASS

public static final String sPASS

To shorten code and Javadoc.

Equal to "xbn.array.primitive.PASString"

Constructor Detail

PASString

public PASString()

Create a PASString with default values.

Equal to PASString(null)


PASString

public PASString(String[] a_string)

Create a PASString.

Equal to PASString(sPASS, a_string)


PASString

public PASString(String s_fqExtendingClass,
                 String[] a_string)

Create a PASString.

Equal to PASString(s_fqExtendingClass, a_string, (new PARString()))


PASString

public PASString(String[] a_string,
                 PARString par_string)

Create a PASString.

Equal to PASString(sPASS, a_string)


PASString

public PASString(String s_fqExtendingClass,
                 String[] a_string,
                 PARString par_string)

Create a PASString.

Equal to PASString(s_fqExtendingClass, a_string, par_string, false)


PASString

public PASString(String[] a_string,
                 boolean b_lock)

Create a PASString.

Equal to PASString(sPASS, a_string, (new PARString()), b_lock)


PASString

public PASString(String[] a_string,
                 PARString par_string,
                 boolean b_lock)

Create a PASString.

Equal to PASString(sPASS, a_string, par_string, b_lock)


PASString

public PASString(String s_fqExtendingClass,
                 String[] a_string,
                 boolean b_lock)

Create a PASString.

Equal to PASString(sPASS, a_string, (new PARString()), b_lock)


PASString

public PASString(String s_fqExtendingClass,
                 String[] a_string,
                 PARString par_string,
                 boolean b_lock)

Create an PASString.

Equal to PASAOObject(s_fqExtendingClass, a_string, par_string, b_lock)

Parameters:
a_string - The array of strings to analyze.
Method Detail

getString

public final String getString(int i_dx)

Get the String at the requested array index.

Overrides:
getString in class PASAOObject
Returns:
(String)getObject(i_dx)

getAOString

public final String[] getAOString()

Get the String array for direct manipulation.

Returns:
(String[])getAOObject()



Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.

 

http://sourceforge.net/projects/xbnjava

 

SourceForge.net Logo