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
ConstructorDescriptionMarkerPropertyList
(FObj fobj, PropertyList parentPropertyList) Overriding default constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttributesToList
(Attributes attributes) Override that doesn't convert the attributes toProperty
instances, but simply stores the attributes for later processing.getExplicit
(int propId) Null implementation; not used by this type ofPropertyList
.int
int
int
getLocalName
(int index) getQName
(int index) getType
(int index) Default implementation; not used.Default implementation; not usedDefault implementation; not usedgetURI
(int index) getValue
(int index) void
putExplicit
(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
- theFObj
to attachparentPropertyList
- ignored
-
-
Method Details
-
addAttributesToList
Override that doesn't convert the attributes toProperty
instances, 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:
addAttributesToList
in 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:
putExplicit
in classPropertyList
- Parameters:
propId
- the propert idvalue
- the property value
-
getExplicit
Null implementation; not used by this type ofPropertyList
.- Specified by:
getExplicit
in classPropertyList
- Parameters:
propId
- the propert id- Returns:
- the property id
-
getLength
public int getLength()- Specified by:
getLength
in interfaceAttributes
-
getURI
- Specified by:
getURI
in interfaceAttributes
-
getLocalName
- Specified by:
getLocalName
in interfaceAttributes
-
getQName
- Specified by:
getQName
in interfaceAttributes
-
getType
Default implementation; not used.- Specified by:
getType
in interfaceAttributes
- Parameters:
index
- a type index- Returns:
- type string
-
getValue
- Specified by:
getValue
in interfaceAttributes
-
getIndex
- Specified by:
getIndex
in interfaceAttributes
-
getIndex
- Specified by:
getIndex
in interfaceAttributes
-
getType
Default implementation; not used- Specified by:
getType
in interfaceAttributes
- Parameters:
name
- a type namenamespace
- a type namespace- Returns:
- type string
-
getType
Default implementation; not used- Specified by:
getType
in interfaceAttributes
- Parameters:
qname
- a type name- Returns:
- type string
-
getValue
- Specified by:
getValue
in interfaceAttributes
-
getValue
- Specified by:
getValue
in interfaceAttributes
-