xbn.string
Class PASStringOrBuffer

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

public class PASStringOrBuffer
extends PASAOObject

A PASAOObject that wraps around an array of StringOrBuffers, representing the string value. See StringOrBuffer.

Source code:  PASStringOrBuffer.java.


Field Summary
static String sPASOB
          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
PASStringOrBuffer()
          Create a PASStringOrBuffer with default values.
PASStringOrBuffer(StringOrBuffer[] a_strOrBfr)
          Create a PASStringOrBuffer.
PASStringOrBuffer(StringOrBuffer[] a_strOrBfr, boolean b_lock)
          Create a PASStringOrBuffer.
PASStringOrBuffer(StringOrBuffer[] a_strOrBfr, PARString par_string)
          Create a PASStringOrBuffer.
PASStringOrBuffer(StringOrBuffer[] a_strOrBfr, PARString par_string, boolean b_lock)
          Create a PASStringOrBuffer.
PASStringOrBuffer(String s_fqExtendingClass, StringOrBuffer[] a_strOrBfr)
          Create a PASStringOrBuffer.
PASStringOrBuffer(String s_fqExtendingClass, StringOrBuffer[] a_strOrBfr, boolean b_lock)
          Create a PASStringOrBuffer.
PASStringOrBuffer(String s_fqExtendingClass, StringOrBuffer[] a_strOrBfr, PARString par_string)
          Create a PASStringOrBuffer.
PASStringOrBuffer(String s_fqExtendingClass, StringOrBuffer[] a_strOrBfr, PARString par_string, boolean b_lock)
          Create an PASStringOrBuffer.
 
Method Summary
 StringOrBuffer[] getAOString()
          Get the StringOrBuffer array for direct manipulation.
 String getString(int i_dx)
          Get the String at the requested array index.
 StringOrBuffer getStringOrBuffer(int i_dx)
          Get the StringOrBuffer 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

sPASOB

public static final String sPASOB

To shorten code and Javadoc.

Equal to "xbn.array.primitive.PASStringOrBuffer"

Constructor Detail

PASStringOrBuffer

public PASStringOrBuffer()

Create a PASStringOrBuffer with default values.

Equal to PASStringOrBuffer(null)


PASStringOrBuffer

public PASStringOrBuffer(StringOrBuffer[] a_strOrBfr)

Create a PASStringOrBuffer.

Equal to PASStringOrBuffer(sPASOB, a_strOrBfr)


PASStringOrBuffer

public PASStringOrBuffer(String s_fqExtendingClass,
                         StringOrBuffer[] a_strOrBfr)

Create a PASStringOrBuffer.

Equal to PASStringOrBuffer(s_fqExtendingClass, a_strOrBfr, (new PARString()))


PASStringOrBuffer

public PASStringOrBuffer(StringOrBuffer[] a_strOrBfr,
                         PARString par_string)

Create a PASStringOrBuffer.

Equal to PASStringOrBuffer(sPASOB, a_strOrBfr, par_string)


PASStringOrBuffer

public PASStringOrBuffer(String s_fqExtendingClass,
                         StringOrBuffer[] a_strOrBfr,
                         PARString par_string)

Create a PASStringOrBuffer.

Equal to PASStringOrBuffer(s_fqExtendingClass, a_strOrBfr, par_string)


PASStringOrBuffer

public PASStringOrBuffer(StringOrBuffer[] a_strOrBfr,
                         boolean b_lock)

Create a PASStringOrBuffer.

Equal to PASStringOrBuffer(sPASOB, a_strOrBfr, (new PARString()), b_lock)


PASStringOrBuffer

public PASStringOrBuffer(StringOrBuffer[] a_strOrBfr,
                         PARString par_string,
                         boolean b_lock)

Create a PASStringOrBuffer.

Equal to PASStringOrBuffer(sPASOB, a_strOrBfr, par_string, b_lock)


PASStringOrBuffer

public PASStringOrBuffer(String s_fqExtendingClass,
                         StringOrBuffer[] a_strOrBfr,
                         boolean b_lock)

Create a PASStringOrBuffer.

Equal to PASStringOrBuffer(sPASOB, a_strOrBfr, (new PARString()), b_lock)


PASStringOrBuffer

public PASStringOrBuffer(String s_fqExtendingClass,
                         StringOrBuffer[] a_strOrBfr,
                         PARString par_string,
                         boolean b_lock)

Create an PASStringOrBuffer.

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

Parameters:
a_strOrBfr - 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:
getStringOrBuffer(i_dx).toString()

getStringOrBuffer

public final StringOrBuffer getStringOrBuffer(int i_dx)

Get the StringOrBuffer at the requested array index.

Returns:
(StringOrBuffer)getObject(i_dx)

getAOString

public final StringOrBuffer[] getAOString()

Get the StringOrBuffer array for direct manipulation.

Returns:
(StringOrBuffer[])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