|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.graphdrawing.graphml.attr.AttributeOutputHandler
This class handles the output of the GraphML extensions defined in
the attribute module.
One instance of the class is responsible for the output of one
GraphML attribute. The attribute is defined by an instance of
AttributeProvider.
AttributeProvider| Field Summary |
| Fields inherited from interface org.graphdrawing.graphml.attr.AttributeConstants |
TYPE_BOOLEAN, TYPE_COMPLEX, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_STRING |
| Constructor Summary | |
AttributeOutputHandler(AttributeProvider provider)
|
|
| Method Summary | |
AttributeProvider |
getAttributeProvider()
Returns the attribute provider that is used by this class |
void |
printDataAttributes(GraphMLWriteContext context,
XmlWriter writer)
Write the XML attributes of a data tag |
void |
printDataOutput(GraphMLWriteContext context,
XmlWriter writer)
Write the element content of a data tag |
void |
printKeyAttributes(GraphMLWriteContext context,
XmlWriter writer)
Write the XML attributes of the key tag for this graphml attribute |
void |
printKeyOutput(GraphMLWriteContext context,
XmlWriter ips)
Write the element content of the key tag for this graphml attribute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AttributeOutputHandler(AttributeProvider provider)
| Method Detail |
public AttributeProvider getAttributeProvider()
public void printKeyAttributes(GraphMLWriteContext context,
XmlWriter writer)
OutputHandlerkey tag for this graphml attribute
printKeyAttributes in interface OutputHandlercontext - the current write contextwriter - XMLWriter instance that writes the result
public void printKeyOutput(GraphMLWriteContext context,
XmlWriter ips)
OutputHandlerkey tag for this graphml attribute
printKeyOutput in interface OutputHandlercontext - the current write contextips - XMLWriter instance that writes the result
public void printDataAttributes(GraphMLWriteContext context,
XmlWriter writer)
OutputHandlerdata tag
printDataAttributes in interface OutputHandlercontext - the current write contextwriter - XMLWriter instance that writes the result
public void printDataOutput(GraphMLWriteContext context,
XmlWriter writer)
OutputHandlerdata tag
printDataOutput in interface OutputHandlercontext - the current write contextwriter - XMLWriter instance that writes the result
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||