Constructor and Description |
---|
SizeToStringTransformer() |
Modifier and Type | Method and Description |
---|---|
String |
getDelim() |
List<String> |
getLbhOrder()
List of Name of property in
SizeDimensions . |
SizeFitToCodeTransformer |
getSizeFitToCodeTransformer()
Optional transformer, if provided will bypass standard
SizeFit conversion to using this. |
boolean |
isInclUnits()
If true, for
SizeDimensions will include units at the end else it wont. |
boolean |
isMuteNullValuesInDims()
If true will simply not show the part of a dimension that is null.
If false will show a 0. |
void |
setDelim(String delim) |
void |
setInclUnits(boolean inclUnits)
If true, for
SizeDimensions will include units at the end else it wont. |
void |
setLbhOrder(List<String> lbhOrder)
List of Name of property in
SizeDimensions . |
void |
setMuteNullValuesInDims(boolean muteNullValuesInDims)
If true will simply not show the part of a dimension that is null.
If false will show a 0. |
void |
setSizeFitToCodeTransformer(SizeFitToCodeTransformer sizeFitToCodeTransformer)
Optional transformer, if provided will bypass standard
SizeFit conversion to using this. |
Object |
transform(Object input) |
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public List<String> getLbhOrder()
SizeDimensions
. Example {"length", "width", "height"}
(L)ength x (W)idth x (H)eight order
Positions are from 0 to 2. (Size will be 3)
public void setLbhOrder(List<String> lbhOrder)
SizeDimensions
. Example {"length", "width", "height"}
(L)ength x (W)idth x (H)eight order
Positions are from 0 to 2. (Size will be 3)
public String getDelim()
public void setDelim(String delim)
public SizeFitToCodeTransformer getSizeFitToCodeTransformer()
SizeFit
conversion to using this.public void setSizeFitToCodeTransformer(SizeFitToCodeTransformer sizeFitToCodeTransformer)
SizeFit
conversion to using this.public boolean isInclUnits()
SizeDimensions
will include units at the end else it wont.public void setInclUnits(boolean inclUnits)
SizeDimensions
will include units at the end else it wont.public boolean isMuteNullValuesInDims()
public void setMuteNullValuesInDims(boolean muteNullValuesInDims)
Copyright © 2018. All rights reserved.