Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.data
Interface AttributeValueVisitor


public interface AttributeValueVisitor

Interface for defining attribute value visitors--operations to perform on each attribute value using CyAttributesUtils.traverseAttributeValues().


Method Summary
 void visitingAttributeValue(String objTraverseID, String attrName, CyAttributes attrs, Object[] keySpace, Object visitedValue)
          Perform whatever operations are desired on the given attribute value.
 

Method Detail

visitingAttributeValue

void visitingAttributeValue(String objTraverseID,
                            String attrName,
                            CyAttributes attrs,
                            Object[] keySpace,
                            Object visitedValue)
Perform whatever operations are desired on the given attribute value.

Parameters:
objTraversedID - the identifier of the object for which we have obtained an attribute value.
attrName - the attribute name for which this is a value.
attrs - the CyAttributes where this attribute value is stored.
keySpace - the key used to obtain this value. For complex values, this may consist of several elements (e.g., new Object[] {"url1", new Integer(1), new Integer(0)). Modification of this key may lead to unexpected traversal results or errors, so copy this key if you wish to make modifications.
visitedValue - the actual visited.
See Also:
CyAttributesUtils.traverseAttributeValues(java.lang.String, java.lang.String, cytoscape.data.CyAttributes, cytoscape.data.AttributeValueVisitor)

www.cytoscape.org