yext.graphml.writer
Class AttrDataProviderOutputHandler
java.lang.Object
org.graphdrawing.graphml.attr.AttributeOutputHandler
yext.graphml.writer.AttrDataProviderOutputHandler
- All Implemented Interfaces:
- AttributeConstants, OutputHandler
- public class AttrDataProviderOutputHandler
- extends AttributeOutputHandler
Implementation of AttributeOutputHandler which access the
attributes with the help of DataProvider.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttrDataProviderOutputHandler
public AttrDataProviderOutputHandler(String name,
DataProvider dp,
int scopeType,
int contentType)
- Creates new instance.
- Parameters:
name - the name of the attribute.dp - the data provider which contains attribute data.scopeType - defines for which type of graph elements the atttributes
are defined.contentType - defines the type of the attribute (int, double, String,..).
AttrDataProviderOutputHandler
public AttrDataProviderOutputHandler(String name,
EdgeMap edgeMap,
int contentType)
- Creates new instance for attributes defined for edges.
- Parameters:
name - the name of the attribute.edgeMap - the EdgeMap which contains attribute data.contentType - defines the type of the attribute (int, doubel, String,..).
AttrDataProviderOutputHandler
public AttrDataProviderOutputHandler(String name,
NodeMap nodeMap,
int contentType)
- Creates new instance for attributes defined for nodes.
- Parameters:
name - the name of the attribute.nodeMap - the NodeMap which contains attribute data.contentType - defines the type of the attribute (int, doubel, String,..).
Copyright ©2000-2008, yWorks GmbH. All rights reserved.