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 ofPropertyList
which only stores the explicitly specified properties/attributes as bundles of name-value-namespace strings
-
-
Field Summary
Fields Modifier and Type Field Description private Marker.MarkerAttribute[]
attribs
the array of attributes-
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 void
addAttributesToList(org.xml.sax.Attributes attributes)
Override that doesn't convert the attributes toProperty
instances, but simply stores the attributes for later processing.Property
getExplicit(int propId)
Null implementation; not used by this type ofPropertyList
.int
getIndex(java.lang.String qname)
int
getIndex(java.lang.String name, java.lang.String namespace)
int
getLength()
java.lang.String
getLocalName(int index)
java.lang.String
getQName(int index)
java.lang.String
getType(int index)
Default implementation; not used.java.lang.String
getType(java.lang.String qname)
Default implementation; not usedjava.lang.String
getType(java.lang.String name, java.lang.String namespace)
Default implementation; not usedjava.lang.String
getURI(int index)
java.lang.String
getValue(int index)
java.lang.String
getValue(java.lang.String qname)
java.lang.String
getValue(java.lang.String name, java.lang.String namespace)
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
-
-
-
-
Field Detail
-
attribs
private Marker.MarkerAttribute[] attribs
the array of attributes
-
-
Constructor Detail
-
MarkerPropertyList
public MarkerPropertyList(FObj fobj, PropertyList parentPropertyList)
Overriding default constructor- Parameters:
fobj
- theFObj
to attachparentPropertyList
- ignored
-
-
Method Detail
-
addAttributesToList
public void addAttributesToList(org.xml.sax.Attributes attributes) throws ValidationException
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
public void putExplicit(int propId, Property value)
Null implementation; not used by this type ofPropertyList
.- Specified by:
putExplicit
in 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:
getExplicit
in classPropertyList
- Parameters:
propId
- the propert id- Returns:
- the property id
-
getLength
public int getLength()
- Specified by:
getLength
in interfaceorg.xml.sax.Attributes
-
getURI
public java.lang.String getURI(int index)
- Specified by:
getURI
in interfaceorg.xml.sax.Attributes
-
getLocalName
public java.lang.String getLocalName(int index)
- Specified by:
getLocalName
in interfaceorg.xml.sax.Attributes
-
getQName
public java.lang.String getQName(int index)
- Specified by:
getQName
in interfaceorg.xml.sax.Attributes
-
getType
public java.lang.String getType(int index)
Default implementation; not used.- Specified by:
getType
in interfaceorg.xml.sax.Attributes
- Parameters:
index
- a type index- Returns:
- type string
-
getValue
public java.lang.String getValue(int index)
- Specified by:
getValue
in interfaceorg.xml.sax.Attributes
-
getIndex
public int getIndex(java.lang.String name, java.lang.String namespace)
- Specified by:
getIndex
in interfaceorg.xml.sax.Attributes
-
getIndex
public int getIndex(java.lang.String qname)
- Specified by:
getIndex
in interfaceorg.xml.sax.Attributes
-
getType
public java.lang.String getType(java.lang.String name, java.lang.String namespace)
Default implementation; not used- Specified by:
getType
in 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:
getType
in 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:
getValue
in interfaceorg.xml.sax.Attributes
-
getValue
public java.lang.String getValue(java.lang.String qname)
- Specified by:
getValue
in interfaceorg.xml.sax.Attributes
-
-