List of usage examples for org.apache.commons.collections Transformer interface-usage
From source file com.discursive.jccook.collections.lazy.StockQuoteTransformer.java
public class StockQuoteTransformer implements Transformer { protected URL quoteURL; protected long timeout; public Object transform(Object symbol) {
From source file net.sf.morph.integration.commons.collections.DecoratedConverterToTransformerAdapter.java
/** * Adapts a Morph DecoratedConverter to the org.apache.commons.collections.Transformer interface. * @author mbenson * @since Morph 1.1 */ public class DecoratedConverterToTransformerAdapter implements Transformer {
From source file org.apache.karaf.eik.core.features.internal.ElementTransformer.java
public class ElementTransformer implements Transformer { @Override public Object transform(final Object object) { if (!(object instanceof Element)) { return null;
From source file org.mmadsen.sim.transmissionlab.util.PopulationRuleset.java
/**
* @author mark
* Class PopulationRuleset takes instances of IPopulationTransformationRule and
* constructs an ordered stack of rules to handle execution of model-level actions.
* The rules are executed in the order they occur in the transformer chain, which
* is the order in which they're added to the PopulationRuleset. New rules can be
From source file org.bhave.sweeper.impl.ConfigurationTranformer.java
/**
* A Transformer to transform iterators if necessary to produce a simple
* Configuration object if necessary
*
* @author Davide Nunes
*
From source file org.apache.rat.document.ToNameTransformer.java
public class ToNameTransformer implements Transformer { private static final Transformer TO_NAME_TRANSFORMER = new ToNameTransformer(); public static final Transformer toNameTransformer() { return TO_NAME_TRANSFORMER;
From source file org.apache.isis.core.runtime.persistence.adaptermanager.ObjectToAdapterTransformer.java
/** * Uses the Commons Collection API to transform {@link Object}s into * {@link ObjectAdapter} adapters. * */ public final class ObjectToAdapterTransformer implements Transformer {
From source file org.pentaho.platform.plugin.services.security.userrole.ldap.transform.ExtraRoles.java
/**
* Adds the roles from <code>extraRoles</code> to the roles input into this transformer. The roles are added as strings
* so a subsequent transformer must convert them to <code>GrantedAuthority</code> instances.
*
* <p>
* Transformer input: <code>String</code> instance, <code>Collection</code> of <code>String</code> instances, or array
From source file org.apache.isis.runtimes.dflt.runtime.persistence.adaptermanager.ObjectToAdapterTransformer.java
/** * Uses the Commons Collection API to transform {@link Object}s into * {@link ObjectAdapter} adapters. * */ public final class ObjectToAdapterTransformer implements Transformer {
From source file org.kuali.mobility.events.util.EventContactTransform.java
public class EventContactTransform implements Transformer { @Override public Object transform(Object obj) { EventContactImpl proxy = null;