org.apache.fop.fo.properties
Class TopMaker
java.lang.Object
org.apache.fop.fo.Property.Maker
org.apache.fop.fo.LengthProperty.Maker
org.apache.fop.fo.properties.TopMaker
- public class TopMaker
- extends LengthProperty.Maker
Method Summary |
protected boolean |
isAutoLengthAllowed()
protected Property checkPropertyKeywords(String value) {
if (isAutoLengthAllowed() && value.equals("auto")) {
return new LengthProperty(Length.AUTO);
}
return null;
} |
boolean |
isInherited()
Default implementation of isInherited. |
Property |
make(PropertyList propertyList)
Return a Property object representing the initial value. |
static Property.Maker |
maker(String propName)
|
Methods inherited from class org.apache.fop.fo.Property.Maker |
checkEnumValues, checkValueKeywords, compute, convertPropertyDatatype, convertShorthandProperty, getPercentBase, getPropName, getShorthand, getSubpropMaker, getSubpropValue, inheritsSpecified, isCompoundMaker, isCorrespondingForced, make, make, makeCompound, setSubprop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopMaker
protected TopMaker(String name)
maker
public static Property.Maker maker(String propName)
isInherited
public boolean isInherited()
- Description copied from class:
Property.Maker
- Default implementation of isInherited.
- Overrides:
isInherited
in class Property.Maker
- Returns:
- A boolean indicating whether this property is inherited.
isAutoLengthAllowed
protected boolean isAutoLengthAllowed()
- Description copied from class:
LengthProperty.Maker
- protected Property checkPropertyKeywords(String value) {
if (isAutoLengthAllowed() && value.equals("auto")) {
return new LengthProperty(Length.AUTO);
}
return null;
}
- Overrides:
isAutoLengthAllowed
in class LengthProperty.Maker
make
public Property make(PropertyList propertyList)
throws FOPException
- Description copied from class:
Property.Maker
- Return a Property object representing the initial value.
- Overrides:
make
in class Property.Maker
- Parameters:
propertyList
- The PropertyList object being built for this FO.
- Throws:
FOPException
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.