|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.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(java.lang.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 java.lang.Object |
getValue(GraphMLWriteContext context,
java.lang.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(java.lang.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 java.lang.Object getValue(GraphMLWriteContext context, java.lang.Object key)
This implementation calls DataProvider.get(Object)
to
retrieve the value from the getDataProvider()
.
getValue
in class AbstractOutputHandler
context
- The context.key
- The key.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |