org.apache.fop.datatypes
Class CondLength

org.apache.fop.datatypes.Length
  |
  +--org.apache.fop.datatypes.CondLength

public class CondLength
extends Length

a space quantity in XSL (space-before, space-after)


Field Summary
 final static intDISCARD
          Values for conditionality.
 final static intRETAIN
           

Fields inherited from class org.apache.fop.datatypes.Length
AUTO

Constructor Summary
CondLength()
           
CondLength(Length l)
           

Method Summary
 StringgetConditionality()
           
 LengthgetLength()
           
 booleanisDiscard()
           
 voidsetConditionality(String conditionality, boolean bIsDefault)
           
 voidsetLength(Length l, boolean bIsDefault)
           

Methods inherited from class org.apache.fop.datatypes.Length
getTableUnits, isAuto, mvalue, toString

Field Detail

DISCARD

public final static int DISCARD
Values for conditionality. Specified as a string value.

RETAIN

public final static int RETAIN
Constructor Detail

CondLength

public CondLength()

CondLength

public CondLength(Length l)
Method Detail

getConditionality

public String getConditionality()

getLength

public Length getLength()

isDiscard

public boolean isDiscard()

setConditionality

public void setConditionality(String conditionality, boolean bIsDefault)

setLength

public void setLength(Length l, boolean bIsDefault)