yext.graphml.reader
Class AttrDataAcceptorInputHandler
java.lang.Object
org.graphdrawing.graphml.attr.AttributeInputHandler
yext.graphml.reader.AttrDataAcceptorInputHandler
- All Implemented Interfaces:
- DOMInputHandler
- public class AttrDataAcceptorInputHandler
- extends AttributeInputHandler
Implementation of AttributeInputHandler which stores the
attributes with the help of DataAcceptor.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttrDataAcceptorInputHandler
public AttrDataAcceptorInputHandler(String name,
DataAcceptor da,
int scopeType,
int contentType)
- Creates new instance.
- Parameters:
name - the name of the attribute.da - the data acceptor 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,..).
AttrDataAcceptorInputHandler
public AttrDataAcceptorInputHandler(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,..).
AttrDataAcceptorInputHandler
public AttrDataAcceptorInputHandler(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-2009, yWorks GmbH. All rights reserved.