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:
org.xml.sax.Attributes
- Enclosing class:
- Marker
protected class Marker.MarkerPropertyList extends PropertyList implements org.xml.sax.Attributes
An implementation ofPropertyListwhich 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
Constructors Constructor Description MarkerPropertyList(FObj fobj, PropertyList parentPropertyList)Overriding default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttributesToList(org.xml.sax.Attributes attributes)Override that doesn't convert the attributes toPropertyinstances, but simply stores the attributes for later processing.PropertygetExplicit(int propId)Null implementation; not used by this type ofPropertyList.intgetIndex(java.lang.String qname)intgetIndex(java.lang.String name, java.lang.String namespace)intgetLength()java.lang.StringgetLocalName(int index)java.lang.StringgetQName(int index)java.lang.StringgetType(int index)Default implementation; not used.java.lang.StringgetType(java.lang.String qname)Default implementation; not usedjava.lang.StringgetType(java.lang.String name, java.lang.String namespace)Default implementation; not usedjava.lang.StringgetURI(int index)java.lang.StringgetValue(int index)java.lang.StringgetValue(java.lang.String qname)java.lang.StringgetValue(java.lang.String name, java.lang.String namespace)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 Detail
-
MarkerPropertyList
public MarkerPropertyList(FObj fobj, PropertyList parentPropertyList)
Overriding default constructor- Parameters:
fobj- theFObjto attachparentPropertyList- ignored
-
-
Method Detail
-
addAttributesToList
public void addAttributesToList(org.xml.sax.Attributes attributes) throws ValidationExceptionOverride 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
public void putExplicit(int propId, Property value)Null implementation; not used by this type ofPropertyList.- Specified by:
putExplicitin classPropertyList- Parameters:
propId- the propert idvalue- the property value
-
getExplicit
public Property getExplicit(int propId)
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 interfaceorg.xml.sax.Attributes
-
getURI
public java.lang.String getURI(int index)
- Specified by:
getURIin interfaceorg.xml.sax.Attributes
-
getLocalName
public java.lang.String getLocalName(int index)
- Specified by:
getLocalNamein interfaceorg.xml.sax.Attributes
-
getQName
public java.lang.String getQName(int index)
- Specified by:
getQNamein interfaceorg.xml.sax.Attributes
-
getType
public java.lang.String getType(int index)
Default implementation; not used.- Specified by:
getTypein interfaceorg.xml.sax.Attributes- Parameters:
index- a type index- Returns:
- type string
-
getValue
public java.lang.String getValue(int index)
- Specified by:
getValuein interfaceorg.xml.sax.Attributes
-
getIndex
public int getIndex(java.lang.String name, java.lang.String namespace)- Specified by:
getIndexin interfaceorg.xml.sax.Attributes
-
getIndex
public int getIndex(java.lang.String qname)
- Specified by:
getIndexin interfaceorg.xml.sax.Attributes
-
getType
public java.lang.String getType(java.lang.String name, java.lang.String namespace)Default implementation; not used- Specified by:
getTypein interfaceorg.xml.sax.Attributes- Parameters:
name- a type namenamespace- a type namespace- Returns:
- type string
-
getType
public java.lang.String getType(java.lang.String qname)
Default implementation; not used- Specified by:
getTypein interfaceorg.xml.sax.Attributes- Parameters:
qname- a type name- Returns:
- type string
-
getValue
public java.lang.String getValue(java.lang.String name, java.lang.String namespace)- Specified by:
getValuein interfaceorg.xml.sax.Attributes
-
getValue
public java.lang.String getValue(java.lang.String qname)
- Specified by:
getValuein interfaceorg.xml.sax.Attributes
-
-