Package org.mapfish.print.wrapper
Class PJoinedArray
java.lang.Object
org.mapfish.print.wrapper.PJoinedArray
- All Implemented Interfaces:
PArray
PArray that is consists of several PArray objects merged together.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(int i) Get the object at the given index.getArray(int i) Get the element at the index as a json array.booleangetBool(int i) Get the element as a boolean.Gets the string representation of the path to the current element.doublegetDouble(int i) Get the element at the index as a double.floatgetFloat(int i) Get the element at the index as a float.intgetInt(int i) Get the element at the index as an integer.longgetLong(int i) Get the element at the index as a long.getObject(int i) Get the element at the index as a object.Gets the string representation of the path to the current element.getString(int i) Get the element at the index as a string.intsize()Return the size of the array.
-
Constructor Details
-
PJoinedArray
Constructor.- Parameters:
arrays- the arrays that constitute the joined array.
-
-
Method Details
-
size
public int size()Description copied from interface:PArrayReturn the size of the array. -
getObject
Description copied from interface:PArrayGet the element at the index as a object. -
getArray
Description copied from interface:PArrayGet the element at the index as a json array. -
getInt
public int getInt(int i) Description copied from interface:PArrayGet the element at the index as an integer. -
getLong
public long getLong(int i) Description copied from interface:PArrayGet the element at the index as a long. -
getFloat
public float getFloat(int i) Description copied from interface:PArrayGet the element at the index as a float. -
getDouble
public double getDouble(int i) Description copied from interface:PArrayGet the element at the index as a double. -
getString
Description copied from interface:PArrayGet the element at the index as a string. -
getBool
public boolean getBool(int i) Description copied from interface:PArrayGet the element as a boolean. -
getPath
Description copied from interface:PArrayGets the string representation of the path to the current element. -
getCurrentPath
Description copied from interface:PArrayGets the string representation of the path to the current element.- Specified by:
getCurrentPathin interfacePArray
-
get
Description copied from interface:PArrayGet the object at the given index.
-