ariba.ui.aribaweb.core
Class AWElementIdPath

java.lang.Object
  extended by ariba.ui.aribaweb.util.AWBaseObject
      extended by ariba.ui.aribaweb.core.AWElementIdPath
All Implemented Interfaces:
AWObject

public class AWElementIdPath
extends AWBaseObject

Maintains a cache of AWElementIdPath's. The ElementIdPath holds all useful representations of a path to an AW element: the path itself (an array of chars), a checksum value computed from this array, and the elemenId which is an Base64 encoded string version of the checksum.


Field Summary
static PerformanceStateCounter ElemendIdInstantiationsCounter
           
static int LevelMaxSize
           
 
Fields inherited from class ariba.ui.aribaweb.util.AWBaseObject
AribaHashtableClass, AribaVectorClass, ClassClass, EmptyHashtable, EmptyMap, EmptyVector, False, IntegerClass, JavaHashtableClass, JavaMapClass, JavaVectorClass, LogHandling, NullObject, ObjectClass, StringClass, True, UndefinedObject, UndefinedString, UninitializedRealNumber
 
Method Summary
static AWElementIdPath emptyPath()
           
 boolean equals(java.lang.Object otherObject)
           
 boolean equalsSkipping(AWElementIdPath elementIdPath, int skipLength)
           
 int hashCode()
           
 boolean hasPrefix(AWElementIdPath parent)
           
 boolean isParentOrSiblingPredecessor(AWElementIdPath parent)
           
static AWElementIdPath noOpPath()
           
static void setElementIdCacheMaxSize(int maxSize)
           
static int size()
           
 java.lang.String toString()
           
 
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject
debugString, ensureFieldValuesClear, getFieldValue, init, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LevelMaxSize

public static final int LevelMaxSize
See Also:
Constant Field Values

ElemendIdInstantiationsCounter

public static PerformanceStateCounter ElemendIdInstantiationsCounter
Method Detail

size

public static int size()

emptyPath

public static AWElementIdPath emptyPath()

noOpPath

public static AWElementIdPath noOpPath()

setElementIdCacheMaxSize

public static void setElementIdCacheMaxSize(int maxSize)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object otherObject)
Overrides:
equals in class java.lang.Object

equalsSkipping

public boolean equalsSkipping(AWElementIdPath elementIdPath,
                              int skipLength)

hasPrefix

public boolean hasPrefix(AWElementIdPath parent)

isParentOrSiblingPredecessor

public boolean isParentOrSiblingPredecessor(AWElementIdPath parent)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.