org.apache.commons.configuration.tree.xpath
Class ConfigurationNodeIteratorAttribute
java.lang.Object
org.apache.commons.configuration.tree.xpath.ConfigurationNodeIteratorBase
org.apache.commons.configuration.tree.xpath.ConfigurationNodeIteratorAttribute
- All Implemented Interfaces:
- org.apache.commons.jxpath.ri.model.NodeIterator
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
Constructor Summary |
ConfigurationNodeIteratorAttribute(org.apache.commons.jxpath.ri.model.NodePointer parent,
org.apache.commons.jxpath.ri.QName name)
Creates a new instance of ConfigurationNodeIteratorAttribute . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationNodeIteratorAttribute
public ConfigurationNodeIteratorAttribute(org.apache.commons.jxpath.ri.model.NodePointer parent,
org.apache.commons.jxpath.ri.QName name)
- Creates a new instance of
ConfigurationNodeIteratorAttribute
.
- Parameters:
parent
- the parent node pointername
- the name of the selected attribute
createSubNodeList
protected List createSubNodeList(ConfigurationNode node,
org.apache.commons.jxpath.ri.QName name)
- Determines which attributes are selected based on the passed in node
name.
- Parameters:
node
- the current nodename
- the name of the selected attribute
- Returns:
- a list with the selected attributes
Copyright © 2001-2007 The Apache Software Foundation. All Rights Reserved.