|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.io.graphml.output.AbstractOutputHandler
y.io.graphml.output.AbstractDataProviderOutputHandler
public abstract class AbstractDataProviderOutputHandler
An abstract implementation of the AbstractOutputHandler class
that uses an DataProvider to retrieve the values to output for each item.
| Constructor Summary | |
|---|---|
protected |
AbstractDataProviderOutputHandler()
|
protected |
AbstractDataProviderOutputHandler(String name,
KeyScope scope,
KeyType type)
Initializes a new instance of the AbstractDataProviderOutputHandler class |
| Method Summary | |
|---|---|
DataProvider |
getDataProvider()
Gets the DataProvider to use for querying the data for each item. |
protected Object |
getValue(GraphMLWriteContext context,
Object key)
Core parse method that obtains the data for the given key. |
void |
setDataProvider(DataProvider value)
Sets the DataProvider to use for querying the data for each item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractDataProviderOutputHandler()
protected AbstractDataProviderOutputHandler(String name,
KeyScope scope,
KeyType type)
AbstractDataProviderOutputHandler class
name - The name for the key definition attributes.scope - The scope for the key definition attributes.type - The type for the key definition attributes.| Method Detail |
|---|
public void setDataProvider(DataProvider value)
value - The DataProvidergetDataProvider()public DataProvider getDataProvider()
setDataProvider(y.base.DataProvider)
protected Object getValue(GraphMLWriteContext context,
Object key)
This implementation calls DataProvider.get(Object) to
retrieve the value from the getDataProvider().
getValue in class AbstractOutputHandlercontext - The context.key - The key.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||