org.apache.commons.configuration.tree.xpath

Class ConfigurationNodeIteratorAttribute

class ConfigurationNodeIteratorAttribute extends ConfigurationNodeIteratorBase

A specialized node iterator implementation that deals with attribute nodes.

Version: $Id: ConfigurationNodeIteratorAttribute.java 439648 2006-09-02 20:42:10Z oheger $

Author: Oliver Heger

Field Summary
static StringWILDCARD
Constant for the wildcard node name.
Constructor Summary
ConfigurationNodeIteratorAttribute(NodePointer parent, QName name)
Creates a new instance of ConfigurationNodeIteratorAttribute.
Method Summary
protected ListcreateSubNodeList(ConfigurationNode node, QName name)
Determines which attributes are selected based on the passed in node name.

Field Detail

WILDCARD

private static final String WILDCARD
Constant for the wildcard node name.

Constructor Detail

ConfigurationNodeIteratorAttribute

public ConfigurationNodeIteratorAttribute(NodePointer parent, QName name)
Creates a new instance of ConfigurationNodeIteratorAttribute.

Parameters: parent the parent node pointer name the name of the selected attribute

Method Detail

createSubNodeList

protected List createSubNodeList(ConfigurationNode node, QName name)
Determines which attributes are selected based on the passed in node name.

Parameters: node the current node name the name of the selected attribute

Returns: a list with the selected attributes