com.infoengine.webject.grp
Class TranslateGroup
java.lang.Object
com.infoengine.webject.Webject
com.infoengine.webject.grp.GroupWebject
com.infoengine.webject.grp.TranslateGroup
- public class TranslateGroup
- extends GroupWebject
Method Summary |
protected static int |
compare(Element node1,
Element node2,
Vector by1,
Vector by2,
boolean numeric,
boolean checkCase)
Describe 'compare' method here. |
protected static int |
compareCase(Object one,
Object two)
Describe 'compareCase' method here. |
protected static int |
compareNoCase(Object one,
Object two)
Describe 'compareNoCase' method here. |
protected static int |
compareNumeric(Object one,
Object two)
Describe 'compareNumeric' method here. |
protected static Vector |
createCompareLists(String param,
Webject webject)
Describe 'createCompareLists' method here. |
Task |
invoke(Task task)
Describe 'translateGroup' method here. |
protected static int |
sortCompare(String key,
String mid,
boolean numeric,
boolean checkCase)
Describe 'sortCompare' method here. |
protected static void |
sortGroup(Group group,
int lo0,
int hi0,
String key,
String undefined,
boolean checkCase,
boolean numeric,
boolean ascending)
Sorts the ieObjects in the obj_list |
Byte |
toByte(Byte n)
|
Byte |
toByte(Double n)
|
Byte |
toByte(Float n)
|
Byte |
toByte(Integer n)
|
Byte |
toByte(Long n)
|
Byte |
toByte(Number n)
|
Byte |
toByte(Short n)
|
Byte |
toByte(String s)
|
Double |
toDouble(Byte n)
|
Double |
toDouble(Double n)
|
Double |
toDouble(Float n)
|
Double |
toDouble(Integer n)
|
Double |
toDouble(Long n)
|
Double |
toDouble(Number n)
|
Double |
toDouble(Short n)
|
Double |
toDouble(String s)
|
Float |
toFloat(Byte n)
|
Float |
toFloat(Double n)
|
Float |
toFloat(Float n)
|
Float |
toFloat(Integer n)
|
Float |
toFloat(Long n)
|
Float |
toFloat(Number n)
|
Float |
toFloat(Short n)
|
Float |
toFloat(String s)
|
Integer |
toInteger(Byte n)
|
Integer |
toInteger(Double n)
|
Integer |
toInteger(Float n)
|
Integer |
toInteger(Integer n)
|
Integer |
toInteger(Long n)
|
Integer |
toInteger(Number n)
|
Integer |
toInteger(Short n)
|
Integer |
toInteger(String s)
|
Long |
toLong(Byte n)
|
Long |
toLong(Double n)
|
Long |
toLong(Float n)
|
Long |
toLong(Integer n)
|
Long |
toLong(Long n)
|
Long |
toLong(Number n)
|
Long |
toLong(Short n)
|
Long |
toLong(String s)
|
Short |
toShort(Byte n)
|
Short |
toShort(Double n)
|
Short |
toShort(Float n)
|
Short |
toShort(Integer n)
|
Short |
toShort(Long n)
|
Short |
toShort(Number n)
|
Short |
toShort(Short n)
|
Short |
toShort(String s)
|
String |
toString(Byte n)
|
String |
toString(byte[] b)
|
String |
toString(Date d)
|
String |
toString(Double n)
|
String |
toString(Float n)
|
String |
toString(Integer n)
|
String |
toString(Long n)
|
String |
toString(Number n)
|
String |
toString(Short n)
|
String |
toString(String s)
|
protected static void |
validateInputGroups(Task task,
int count)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
conversionMethods
private static Hashtable conversionMethods
ATTNOEXISTTWO
static final int ATTNOEXISTTWO
- See Also:
- Constant Field Values
ATTNOEXISTONE
static final int ATTNOEXISTONE
- See Also:
- Constant Field Values
CONTINUE
static final int CONTINUE
- See Also:
- Constant Field Values
INONE
static final int INONE
- See Also:
- Constant Field Values
INBOTH
static final int INBOTH
- See Also:
- Constant Field Values
INONEFIRSTKEY
static final int INONEFIRSTKEY
- See Also:
- Constant Field Values
INSECOND
static final int INSECOND
- See Also:
- Constant Field Values
UNDEFINED_VAL
static final String UNDEFINED_VAL
- See Also:
- Constant Field Values
RESOURCE
protected static final String RESOURCE
- See Also:
- Constant Field Values
TranslateGroup
public TranslateGroup()
invoke
public Task invoke(Task task)
throws GroupWebjectException
- Describe 'translateGroup' method here.
- Specified by:
invoke
in class Webject
- Parameters:
task
- a value of type 'Task'
- Returns:
- a value of type 'Task'
- Throws:
GroupWebjectException
toByte
public Byte toByte(Byte n)
toByte
public Byte toByte(Double n)
toByte
public Byte toByte(Float n)
toByte
public Byte toByte(Integer n)
toByte
public Byte toByte(Long n)
toByte
public Byte toByte(Number n)
toByte
public Byte toByte(Short n)
toByte
public Byte toByte(String s)
toDouble
public Double toDouble(Byte n)
toDouble
public Double toDouble(Double n)
toDouble
public Double toDouble(Float n)
toDouble
public Double toDouble(Integer n)
toDouble
public Double toDouble(Long n)
toDouble
public Double toDouble(Number n)
toDouble
public Double toDouble(Short n)
toDouble
public Double toDouble(String s)
toFloat
public Float toFloat(Byte n)
toFloat
public Float toFloat(Double n)
toFloat
public Float toFloat(Float n)
toFloat
public Float toFloat(Integer n)
toFloat
public Float toFloat(Long n)
toFloat
public Float toFloat(Number n)
toFloat
public Float toFloat(Short n)
toFloat
public Float toFloat(String s)
toInteger
public Integer toInteger(Byte n)
toInteger
public Integer toInteger(Double n)
toInteger
public Integer toInteger(Float n)
toInteger
public Integer toInteger(Integer n)
toInteger
public Integer toInteger(Long n)
toInteger
public Integer toInteger(Number n)
toInteger
public Integer toInteger(Short n)
toInteger
public Integer toInteger(String s)
toLong
public Long toLong(Byte n)
toLong
public Long toLong(Double n)
toLong
public Long toLong(Float n)
toLong
public Long toLong(Integer n)
toLong
public Long toLong(Long n)
toLong
public Long toLong(Number n)
toLong
public Long toLong(Short n)
toLong
public Long toLong(String s)
toShort
public Short toShort(Byte n)
toShort
public Short toShort(Double n)
toShort
public Short toShort(Float n)
toShort
public Short toShort(Integer n)
toShort
public Short toShort(Long n)
toShort
public Short toShort(Number n)
toShort
public Short toShort(Short n)
toShort
public Short toShort(String s)
toString
public String toString(String s)
toString
public String toString(Byte n)
toString
public String toString(Double n)
toString
public String toString(Float n)
toString
public String toString(Integer n)
toString
public String toString(Long n)
toString
public String toString(Number n)
toString
public String toString(Short n)
toString
public String toString(Date d)
toString
public String toString(byte[] b)
validateInputGroups
protected static void validateInputGroups(Task task,
int count)
throws GroupWebjectException
- Throws:
GroupWebjectException
createCompareLists
protected static Vector createCompareLists(String param,
Webject webject)
throws GroupWebjectException
- Describe 'createCompareLists' method here.
- Parameters:
param
- a value of type 'String'webject
- a value of type 'Webject'
- Returns:
- a value of type 'Vector'
- Throws:
GroupWebjectException
sortGroup
protected static void sortGroup(Group group,
int lo0,
int hi0,
String key,
String undefined,
boolean checkCase,
boolean numeric,
boolean ascending)
throws GroupWebjectException
- Sorts the ieObjects in the obj_list
- Parameters:
group
- The IeGroup to be sortedlo0
- The index of the first element to be sortedhi0
- The index of the last element to be sortedkey
- The key name to be sorted onnumeric
- boolean value, true if comparisons should be numeric, false if
comparison should be alphanumericcheckCase
- boolean value, true if comparison should be case sensitive, false otherwise
- Throws:
GroupWebjectException
sortCompare
protected static int sortCompare(String key,
String mid,
boolean numeric,
boolean checkCase)
- Describe 'sortCompare' method here.
- Parameters:
key
- a value of type 'String'mid
- a value of type 'String'numeric
- a value of type 'boolean'checkCase
- a value of type 'boolean'
- Returns:
- a value of type 'int'
compare
protected static int compare(Element node1,
Element node2,
Vector by1,
Vector by2,
boolean numeric,
boolean checkCase)
- Describe 'compare' method here.
- Parameters:
node1
- a value of type 'Element'node2
- a value of type 'Element'by1
- a value of type 'Vector'by2
- a value of type 'Vector'numeric
- a value of type 'boolean'checkCase
- a value of type 'boolean'
- Returns:
- a value of type 'int'
compareCase
protected static int compareCase(Object one,
Object two)
- Describe 'compareCase' method here.
- Parameters:
one
- a value of type 'Object'two
- a value of type 'Object'
- Returns:
- a value of type 'int'
compareNoCase
protected static int compareNoCase(Object one,
Object two)
- Describe 'compareNoCase' method here.
- Parameters:
one
- a value of type 'Object'two
- a value of type 'Object'
- Returns:
- a value of type 'int'
compareNumeric
protected static int compareNumeric(Object one,
Object two)
- Describe 'compareNumeric' method here.
- Parameters:
one
- a value of type 'Object'two
- a value of type 'Object'
- Returns:
- a value of type 'int'