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
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
ConstructorsConstructorDescriptionDynamicAttributeIterator(PropertyOwnerPointer parent, QName qName) Constructs a new DynamicAttributeIterator. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidPrepare for an individual property.Methods inherited from class org.apache.commons.jxpath.ri.model.beans.BeanAttributeIterator
getNodePointer, getPosition, setPositionMethods inherited from class org.apache.commons.jxpath.ri.model.beans.PropertyIterator
getPropertyPointer, reset
-
Constructor Details
-
DynamicAttributeIterator
Constructs a new DynamicAttributeIterator.- Parameters:
parent- pointerqName- to match properties
-
-
Method Details
-
prepareForIndividualProperty
Description copied from class:PropertyIteratorPrepare for an individual property.- Overrides:
prepareForIndividualPropertyin classPropertyIterator- Parameters:
name- property name
-