public final class MultiFinder extends java.lang.Object implements PropertyFinder
| Constructor and Description |
|---|
MultiFinder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFinder(PropertyFinder f)
Add a PropertyFinder to the Set of finders to be searched.
|
PropertyFinder |
copy()
return a new PropertyFinder that represents a copy of the current state of this object.
|
<T> PropertyTag<? extends T> |
find(java.lang.Class<T> clazz,
java.lang.String name)
Locate a registered property by name and class of result.
|
PropertyTag<?> |
find(java.lang.String name)
Locate a registered property by name.
|
PropertyTag<?> |
find(TagFilter fil,
java.lang.String name)
Locate a registered property by name and additional filter.
|
java.util.Set<FixedPropertyFinder> |
getNested() |
java.util.Set<PropertyTag> |
getProperties()
Get all properties That could be found using this object
|
<T> java.util.Set<PropertyTag<? extends T>> |
getProperties(java.lang.Class<T> clazz)
Get all properties where the property can be assigned to class T
|
boolean |
hasProperty(PropertyTag tag)
is the specified property in the set of properties that can be found by this object.
|
PropertyTag<?> |
make(java.lang.String name)
Locate a registered property by name.
|
java.lang.String |
toString() |
public void addFinder(PropertyFinder f)
f - PropertyFinder to addpublic PropertyTag<?> make(java.lang.String name) throws InvalidPropertyException
PropertyFindermake in interface PropertyFinderInvalidPropertyExceptionpublic PropertyTag<?> find(java.lang.String name)
PropertyFinderfind in interface PropertyFinderpublic <T> PropertyTag<? extends T> find(java.lang.Class<T> clazz, java.lang.String name)
PropertyFinderfind in interface PropertyFinderT - Target classclazz - Class object for targetname - String name of propertypublic PropertyTag<?> find(TagFilter fil, java.lang.String name)
PropertyFinderPropertyTag if the TagFilter
accepts the result.find in interface PropertyFinderpublic java.util.Set<PropertyTag> getProperties()
PropertyFindergetProperties in interface PropertyFinderpublic boolean hasProperty(PropertyTag tag)
PropertyFinderhasProperty in interface PropertyFinderpublic <T> java.util.Set<PropertyTag<? extends T>> getProperties(java.lang.Class<T> clazz)
PropertyFindergetProperties in interface PropertyFinderpublic PropertyFinder copy()
PropertyFindercopy in interface PropertyFinderpublic java.util.Set<FixedPropertyFinder> getNested()
public java.lang.String toString()
toString in class java.lang.Object