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
DynamicAttributeIteratoris different from a regularBeanAttributeIteratorin that given a property name it will always find that property (albeit with a null value).- Version:
- $Id: DynamicAttributeIterator.java 652845 2008-05-02 17:46:46Z ebourg $
-
-
Constructor Summary
Constructors Constructor Description DynamicAttributeIterator(PropertyOwnerPointer parent, QName name)Create a new DynamicAttributeIterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidprepareForIndividualProperty(java.lang.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
-
-
-
-
Constructor Detail
-
DynamicAttributeIterator
public DynamicAttributeIterator(PropertyOwnerPointer parent, QName name)
Create a new DynamicAttributeIterator.- Parameters:
parent- pointername- to match properties
-
-
Method Detail
-
prepareForIndividualProperty
protected void prepareForIndividualProperty(java.lang.String name)
Description copied from class:PropertyIteratorPrepare for an individual property.- Overrides:
prepareForIndividualPropertyin classPropertyIterator- Parameters:
name- property name
-
-