org.apache.fop.fo
Class EnumProperty.Maker

java.lang.Object
  |
  +--org.apache.fop.fo.Property.Maker
        |
        +--org.apache.fop.fo.EnumProperty.Maker
Direct Known Subclasses:
AbsolutePositionMaker, BackgroundAttachmentMaker, BackgroundRepeatMaker, BlankOrNotBlankMaker, BorderCollapseMaker, CaptionSideMaker, DirectionMaker, DisplayAlignMaker, DominantBaselineMaker, EndsRowMaker, FontSelectionStrategyMaker, FontVariantMaker, ForcePageCountMaker, GenericBoolean, GenericBorderStyle, GenericBreak, HyphenateMaker, HyphenationKeepMaker, LeaderAlignmentMaker, LeaderPatternMaker, LetterValueMaker, LinefeedTreatmentMaker, LineHeightShiftAdjustmentMaker, LineStackingStrategyMaker, OddOrEvenMaker, OverflowMaker, PagePositionMaker, PositionMaker, PrecedenceMaker, RelativeAlignMaker, RelativePositionMaker, RetrieveBoundaryMaker, RetrievePositionMaker, RuleStyleMaker, ScalingMaker, ScalingMethodMaker, SpanMaker, StartsRowMaker, SuppressAtLineBreakMaker, TableLayoutMaker, TextAlignLastMaker, TextAlignMaker, TextDecorationMaker, TreatAsWordSpaceMaker, UnicodeBidiMaker, VerticalAlignMaker, WhiteSpaceMaker, WhiteSpaceTreatmentMaker, WrapOptionMaker, WritingModeMaker
Enclosing class:
EnumProperty

public static class EnumProperty.Maker
extends Property.Maker


Constructor Summary
protected EnumProperty.Maker(java.lang.String propName)
           
 
Method Summary
 Property checkEnumValues(java.lang.String value)
          Called by subclass if no match found.
 Property convertProperty(Property p, PropertyList propertyList, FObj fo)
          Return a Property object based on the passed Property object.
protected  Property findConstant(java.lang.String value)
           
 
Methods inherited from class org.apache.fop.fo.Property.Maker
checkValueKeywords, compute, convertPropertyDatatype, convertShorthandProperty, getPercentBase, getPropName, getShorthand, getSubpropMaker, getSubpropValue, inheritsSpecified, isCompoundMaker, isCorrespondingForced, isInherited, make, make, make, makeCompound, setSubprop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumProperty.Maker

protected EnumProperty.Maker(java.lang.String propName)
Method Detail

checkEnumValues

public Property checkEnumValues(java.lang.String value)
Called by subclass if no match found.
Overrides:
checkEnumValues in class Property.Maker

findConstant

protected Property findConstant(java.lang.String value)

convertProperty

public Property convertProperty(Property p,
                                PropertyList propertyList,
                                FObj fo)
                         throws FOPException
Description copied from class: Property.Maker
Return a Property object based on the passed Property object. This method is called if the Property object built by the parser isn't the right type for this property. It is overridden by subclasses when the property specification in foproperties.xml specifies conversion rules.
Overrides:
convertProperty in class Property.Maker
Following copied from class: org.apache.fop.fo.Property.Maker
Parameters:
p - The Property object return by the expression parser
propertyList - The PropertyList object being built for this FO.
fo - The current FO whose properties are being set.
Returns:
A Property of the correct type or null if the parsed value can't be converted to the correct type.


Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.