public final class DummyPercentBaseContext extends java.lang.Object implements PercentBaseContext
Modifier and Type | Method and Description |
---|---|
int |
getBaseLength(int lengthBase,
FObj fo)
Returns the base length for the given length base.
|
static DummyPercentBaseContext |
getInstance()
Returns an instance of this dummy implementation
|
public static DummyPercentBaseContext getInstance()
public int getBaseLength(int lengthBase, FObj fo)
LengthBase
.getBaseLength
in interface PercentBaseContext
lengthBase
- Indicates which type of the base length value is to be returnedfo
- The FO object against which the percentage should be evaluatedCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.