Package org.apache.commons.jxpath.ri.model.dynamic

# Class DynamicAttributeIterator

java.lang.Object
org.apache.commons.jxpath.ri.model.beans.PropertyIterator
org.apache.commons.jxpath.ri.model.beans.BeanAttributeIterator
org.apache.commons.jxpath.ri.model.dynamic.DynamicAttributeIterator

All Implemented Interfaces:
  `NodeIterator`

public class DynamicAttributeIterator extends BeanAttributeIterator
`DynamicAttributeIterator` is different from a regular `BeanAttributeIterator` in that given a property name it will always find that property (albeit with a null value).

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DynamicAttributeIterator(PropertyOwnerPointer parent, QName qName)`
  Constructs a new DynamicAttributeIterator.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected void`
  `prepareForIndividualProperty(String name)`
  Prepare for an individual property.

  ### Methods inherited from class org.apache.commons.jxpath.ri.model.beans.BeanAttributeIterator

  `getNodePointer, getPosition, setPosition`

  ### Methods inherited from class org.apache.commons.jxpath.ri.model.beans.PropertyIterator

  `getPropertyPointer, reset`

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

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

- ## Constructor Details

  - ### DynamicAttributeIterator

    public DynamicAttributeIterator(PropertyOwnerPointer parent, QName qName)
    Constructs a new DynamicAttributeIterator.
    Parameters:
      `parent` - pointer
      `qName` - to match properties

- ## Method Details

  - ### prepareForIndividualProperty

    protected void prepareForIndividualProperty(String name)
    Description copied from class: `PropertyIterator`
    Prepare for an individual property.
    Overrides:
      `prepareForIndividualProperty` in class `PropertyIterator`
    Parameters:
      `name` - property name