protected class Marker.MarkerPropertyList extends PropertyList implements Attributes
PropertyList which only stores the explicitly
specified properties/attributes as bundles of name-value-namespace
stringsparentPropertyList| Constructor and Description |
|---|
MarkerPropertyList(FObj fobj,
PropertyList parentPropertyList)
Overriding default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributesToList(Attributes attributes)
Override that doesn't convert the attributes to
Property
instances, but simply stores the attributes for later processing. |
Property |
getExplicit(int propId)
Null implementation; not used by this type of
PropertyList. |
int |
getIndex(String qname) |
int |
getIndex(String name,
String namespace) |
int |
getLength() |
String |
getLocalName(int index) |
String |
getQName(int index) |
String |
getType(int index)
Default implementation; not used.
|
String |
getType(String qname)
Default implementation; not used
|
String |
getType(String name,
String namespace)
Default implementation; not used
|
String |
getURI(int index) |
String |
getValue(int index) |
String |
getValue(String qname) |
String |
getValue(String name,
String namespace) |
void |
putExplicit(int propId,
Property value)
Null implementation; not used by this type of
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, validatePropertyValuepublic MarkerPropertyList(FObj fobj, PropertyList parentPropertyList)
fobj - the FObj to attachparentPropertyList - ignoredpublic void addAttributesToList(Attributes attributes) throws ValidationException
Property
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:
addAttributesToList in class PropertyListattributes - Collection of attributes passed to us from the parser.ValidationException - if there is an attribute that does not
map to a property id (strict validation only)public void putExplicit(int propId,
Property value)
PropertyList.putExplicit in class PropertyListpropId - the propert idvalue - the property valuepublic Property getExplicit(int propId)
PropertyList.getExplicit in class PropertyListpropId - the propert idpublic int getLength()
getLength in interface Attributespublic String getURI(int index)
getURI in interface Attributespublic String getLocalName(int index)
getLocalName in interface Attributespublic String getQName(int index)
getQName in interface Attributespublic String getType(int index)
getType in interface Attributesindex - a type indexpublic String getValue(int index)
getValue in interface Attributespublic int getIndex(String name, String namespace)
getIndex in interface Attributespublic int getIndex(String qname)
getIndex in interface Attributespublic String getType(String name, String namespace)
getType in interface Attributesname - a type namenamespace - a type namespacepublic String getType(String qname)
getType in interface Attributesqname - a type namepublic String getValue(String name, String namespace)
getValue in interface Attributespublic String getValue(String qname)
getValue in interface AttributesCopyright © 2023 Apache Software Foundation. All rights reserved.