|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
com.openharbor.beck.configure.Mapping
com.openharbor.beck.configure.When
A conditional Mapping. Returns no information for a request that doesn't match a configured predicate; otherwise inherits the behavior of a Mapping.
This class is designed primarily to unmarshal easily from legible XML.
Nested Class Summary |
Nested classes inherited from class com.openharbor.beck.map.Configuration |
Configuration.MarshalSelector, Configuration.Selector, Configuration.UnmarshalSelector |
Field Summary | |
protected Predicate |
predicate
|
Fields inherited from class com.openharbor.beck.configure.Mapping |
log |
Fields inherited from class java.util.AbstractList |
modCount |
Fields inherited from interface com.openharbor.beck.map.Configuration |
CLASS, EMPTY_STRING, EXCLUDE_PROPERTIES, FACTORY, GETTER, IDENTIFIER, INCLUDE_PROPERTIES, MAP_FROM_XML, MAPPER, MARSHALLER, MINIMAL_XML, MODEL, NAMER, NO_XML, PACKAGES, PROPERTY, RECEIVER, SETTER, UNMARSHALLER, XML |
Constructor Summary | |
When(Predicate predicate)
|
Method Summary | |
java.lang.Object |
get(Configuration.Selector selector)
Get configuration information. |
java.lang.String |
toString()
|
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
Field Detail |
protected Predicate predicate
Constructor Detail |
public When(Predicate predicate)
Method Detail |
public java.lang.String toString()
public java.lang.Object get(Configuration.Selector selector)
Configuration
get
in interface Configuration
get
in class Mapping
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |