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

      protected class Marker.MarkerPropertyList
      extends PropertyList
      implements Attributes

  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

    Constructors
    Constructor and Description
    `MarkerPropertyList(FObj fobj, PropertyList parentPropertyList)` Overriding default constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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`.

    - ### 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`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MarkerPropertyList

          public MarkerPropertyList(FObj fobj,
                                    PropertyList parentPropertyList)

      Overriding default constructor
      Parameters:
        `fobj` - the `FObj` to attach
        `parentPropertyList` - ignored

  - ### Method Detail

    - #### addAttributesToList

          public void addAttributesToList(Attributes attributes)
                                   throws ValidationException

      Override that doesn't convert the attributes to `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:

      1. writing-mode
      2. column-number
      3. number-columns-spanned
      4. font
      5. font-size
      6. all others in order of appearance
      Overrides:
        `addAttributesToList` in class `PropertyList`
      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 of `PropertyList`.
      Specified by:
        `putExplicit` in class `PropertyList`
      Parameters:
        `propId` - the propert id
        `value` - the property value

    - #### getExplicit

          public Property getExplicit(int propId)

      Null implementation; not used by this type of `PropertyList`.
      Specified by:
        `getExplicit` in class `PropertyList`
      Parameters:
        `propId` - the propert id
      Returns:
        the property id

    - #### getLength

          public int getLength()

      Specified by:
        `getLength` in interface `Attributes`

    - #### getURI

          public String getURI(int index)

      Specified by:
        `getURI` in interface `Attributes`

    - #### getLocalName

          public String getLocalName(int index)

      Specified by:
        `getLocalName` in interface `Attributes`

    - #### getQName

          public String getQName(int index)

      Specified by:
        `getQName` in interface `Attributes`

    - #### getType

          public String getType(int index)

      Default implementation; not used.
      Specified by:
        `getType` in interface `Attributes`
      Parameters:
        `index` - a type index
      Returns:
        type string

    - #### getValue

          public String getValue(int index)

      Specified by:
        `getValue` in interface `Attributes`

    - #### getIndex

          public int getIndex(String name,
                              String namespace)

      Specified by:
        `getIndex` in interface `Attributes`

    - #### getIndex

          public int getIndex(String qname)

      Specified by:
        `getIndex` in interface `Attributes`

    - #### getType

          public String getType(String name,
                                String namespace)

      Default implementation; not used
      Specified by:
        `getType` in interface `Attributes`
      Parameters:
        `name` - a type name
        `namespace` - a type namespace
      Returns:
        type string

    - #### getType

          public String getType(String qname)

      Default implementation; not used
      Specified by:
        `getType` in interface `Attributes`
      Parameters:
        `qname` - a type name
      Returns:
        type string

    - #### getValue

          public String getValue(String name,
                                 String namespace)

      Specified by:
        `getValue` in interface `Attributes`

    - #### getValue

          public String getValue(String qname)

      Specified by:
        `getValue` in interface `Attributes`

Copyright © 2023 Apache Software Foundation. All rights reserved.