org.skyscreamer.yoga.selector
Class CompositeSelector

java.lang.Object
  extended by org.skyscreamer.yoga.selector.CompositeSelector
All Implemented Interfaces:
Selector

public class CompositeSelector
extends Object
implements Selector


Constructor Summary
CompositeSelector(Selector coreSelector, Selector fieldSelector)
           
 
Method Summary
 boolean containsField(Class<?> instanceType, String property)
           
 Collection<Property> getAllPossibleFields(Class<?> instanceType)
           
 Selector getChildSelector(Class<?> instanceType, String fieldName)
           
 Collection<Property> getSelectedFields(Class<?> instanceType, Object instance)
           
 boolean isInfluencedExternally()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeSelector

public CompositeSelector(Selector coreSelector,
                         Selector fieldSelector)
Method Detail

getChildSelector

public Selector getChildSelector(Class<?> instanceType,
                                 String fieldName)
Specified by:
getChildSelector in interface Selector

containsField

public boolean containsField(Class<?> instanceType,
                             String property)
Specified by:
containsField in interface Selector

getSelectedFields

public Collection<Property> getSelectedFields(Class<?> instanceType,
                                              Object instance)
Specified by:
getSelectedFields in interface Selector

getAllPossibleFields

public Collection<Property> getAllPossibleFields(Class<?> instanceType)
Specified by:
getAllPossibleFields in interface Selector

isInfluencedExternally

public boolean isInfluencedExternally()
Specified by:
isInfluencedExternally in interface Selector


Copyright © 2012. All Rights Reserved.