protected class Marker.MarkerPropertyList extends PropertyList implements org.xml.sax.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(org.xml.sax.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(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 used
|
java.lang.String |
getType(java.lang.String name,
java.lang.String namespace)
Default implementation; not used
|
java.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 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(org.xml.sax.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 org.xml.sax.Attributespublic java.lang.String getURI(int index)
getURI in interface org.xml.sax.Attributespublic java.lang.String getLocalName(int index)
getLocalName in interface org.xml.sax.Attributespublic java.lang.String getQName(int index)
getQName in interface org.xml.sax.Attributespublic java.lang.String getType(int index)
getType in interface org.xml.sax.Attributesindex - a type indexpublic java.lang.String getValue(int index)
getValue in interface org.xml.sax.Attributespublic int getIndex(java.lang.String name,
java.lang.String namespace)
getIndex in interface org.xml.sax.Attributespublic int getIndex(java.lang.String qname)
getIndex in interface org.xml.sax.Attributespublic java.lang.String getType(java.lang.String name,
java.lang.String namespace)
getType in interface org.xml.sax.Attributesname - a type namenamespace - a type namespacepublic java.lang.String getType(java.lang.String qname)
getType in interface org.xml.sax.Attributesqname - a type namepublic java.lang.String getValue(java.lang.String name,
java.lang.String namespace)
getValue in interface org.xml.sax.Attributespublic java.lang.String getValue(java.lang.String qname)
getValue in interface org.xml.sax.AttributesCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.