Package org.apache.fop.fo.flow
Class Marker.MarkerPropertyList
java.lang.Object
org.apache.fop.fo.PropertyList
org.apache.fop.fo.flow.Marker.MarkerPropertyList
- All Implemented Interfaces:
Attributes
- Enclosing class:
Marker
An implementation of
PropertyList which only stores the explicitly
specified properties/attributes as bundles of name-value-namespace
strings-
Field Summary
Fields inherited from class org.apache.fop.fo.PropertyList
parentPropertyList -
Constructor Summary
ConstructorsConstructorDescriptionMarkerPropertyList(FObj fobj, PropertyList parentPropertyList) Overriding default constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttributesToList(Attributes attributes) Override that doesn't convert the attributes toPropertyinstances, but simply stores the attributes for later processing.getExplicit(int propId) Null implementation; not used by this type ofPropertyList.intintintgetLocalName(int index) getQName(int index) getType(int index) Default implementation; not used.Default implementation; not usedDefault implementation; not usedgetURI(int index) getValue(int index) voidputExplicit(int propId, Property value) Null implementation; not used by this type ofPropertyList.Methods inherited from class org.apache.fop.fo.PropertyList
findBasePropertyName, findSubPropertyName, get, get, getAbsolutePositionProps, getAuralProps, getBorderPaddingBackgroundProps, getExplicitOrShorthand, getFObj, getFontProps, getFromParent, getHyphenationProps, getInherited, getMarginBlockProps, getMarginInlineProps, getNearestSpecified, getParentFObj, getParentPropertyList, getPropertyForAttribute, getRelativePositionProps, getTextDecorationProps, getUnknownPropertyValues, handleInvalidProperty, isValidPropertyName, selectFromWritingMode, validatePropertyValue
-
Constructor Details
-
MarkerPropertyList
Overriding default constructor- Parameters:
fobj- theFObjto attachparentPropertyList- ignored
-
-
Method Details
-
addAttributesToList
Override that doesn't convert the attributes toPropertyinstances, but simply stores the attributes for later processing.Adds the attributes, passed in by the parser to the PropertyList.
Note that certain attributes are given priority in terms of order of processing due to conversion dependencies, where the order is as follows:
- writing-mode
- column-number
- number-columns-spanned
- font
- font-size
- all others in order of appearance
- Overrides:
addAttributesToListin classPropertyList- Parameters:
attributes- Collection of attributes passed to us from the parser.- Throws:
ValidationException- if there is an attribute that does not map to a property id (strict validation only)
-
putExplicit
Null implementation; not used by this type ofPropertyList.- Specified by:
putExplicitin classPropertyList- Parameters:
propId- the propert idvalue- the property value
-
getExplicit
Null implementation; not used by this type ofPropertyList.- Specified by:
getExplicitin classPropertyList- Parameters:
propId- the propert id- Returns:
- the property id
-
getLength
public int getLength()- Specified by:
getLengthin interfaceAttributes
-
getURI
- Specified by:
getURIin interfaceAttributes
-
getLocalName
- Specified by:
getLocalNamein interfaceAttributes
-
getQName
- Specified by:
getQNamein interfaceAttributes
-
getType
Default implementation; not used.- Specified by:
getTypein interfaceAttributes- Parameters:
index- a type index- Returns:
- type string
-
getValue
- Specified by:
getValuein interfaceAttributes
-
getIndex
- Specified by:
getIndexin interfaceAttributes
-
getIndex
- Specified by:
getIndexin interfaceAttributes
-
getType
Default implementation; not used- Specified by:
getTypein interfaceAttributes- Parameters:
name- a type namenamespace- a type namespace- Returns:
- type string
-
getType
Default implementation; not used- Specified by:
getTypein interfaceAttributes- Parameters:
qname- a type name- Returns:
- type string
-
getValue
- Specified by:
getValuein interfaceAttributes
-
getValue
- Specified by:
getValuein interfaceAttributes
-