org.ros.internal.node.response
Class TopicListResultFactory

java.lang.Object
  extended by org.ros.internal.node.response.TopicListResultFactory
All Implemented Interfaces:
ResultFactory<java.util.List<TopicDeclaration>>

public class TopicListResultFactory
extends java.lang.Object
implements ResultFactory<java.util.List<TopicDeclaration>>

A ResultFactory to take an object and turn it into a list of TopicDeclaration instances.


Constructor Summary
TopicListResultFactory()
           
 
Method Summary
 java.util.List<TopicDeclaration> newFromValue(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopicListResultFactory

public TopicListResultFactory()
Method Detail

newFromValue

public java.util.List<TopicDeclaration> newFromValue(java.lang.Object value)
Specified by:
newFromValue in interface ResultFactory<java.util.List<TopicDeclaration>>
Returns:
a value to be returned as the result part of a Response