Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractRewrite - Class in org.ocpsoft.rewrite
- AbstractRewrite() - Constructor for class org.ocpsoft.rewrite.AbstractRewrite
- accept(Visitor<Condition>) - Method in class org.ocpsoft.rewrite.config.ConditionVisit
-
Submit the supplied visitor and apply it to all
Conditioninstances in the tree - accept(Visitor<Condition>) - Method in class org.ocpsoft.rewrite.config.RuleBuilder
-
This method will call the supplied visitor for all conditions attached to the rule builder.
- accept(Visitor<Operation>) - Method in class org.ocpsoft.rewrite.config.OperationVisit
-
Submit the supplied visitor and apply it to all
Operationinstances in the tree - accept(Visitor<Rule>) - Method in class org.ocpsoft.rewrite.config.RuleVisit
- addArrayValue(Map<T, String[]>, T, String) - Static method in class org.ocpsoft.rewrite.util.Maps
- addDelegate(Map<KEYTYPE, VALUETYPE>) - Method in class org.ocpsoft.rewrite.util.CompositeMap
- addListValue(Map<K, List<T>>, K, T) - Static method in class org.ocpsoft.rewrite.config.ConfigurationLoader
- addListValue(Map<K, List<T>>, K, T) - Static method in class org.ocpsoft.rewrite.util.Maps
- addPostOperation(Operation) - Method in interface org.ocpsoft.rewrite.context.EvaluationContext
-
Add a new
Operationto be performed if all conditions of this rule are met. - addPreOperation(Operation) - Method in interface org.ocpsoft.rewrite.context.EvaluationContext
-
Add a new
Operationto be performed if all conditions of this rule are met. - addRule() - Method in class org.ocpsoft.rewrite.config.ConfigurationBuilder
-
Add a new fluent
Rule. - addRule() - Method in interface org.ocpsoft.rewrite.config.ConfigurationBuilderRoot
-
Define a new fluent
Rule. - addRule() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- addRule() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- addRule(Rule) - Method in class org.ocpsoft.rewrite.config.ConfigurationBuilder
-
Add a
Rule. - addRule(Rule) - Method in interface org.ocpsoft.rewrite.config.ConfigurationBuilderRoot
-
Add a pre-defined
Rule. - addRule(Rule) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- addRule(Rule) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- all(Condition...) - Static method in class org.ocpsoft.rewrite.config.And
-
Creates a new
Andcondition. - all(Operation...) - Static method in class org.ocpsoft.rewrite.config.Perform
-
Creates a new
Performoperation. - and(Condition) - Method in interface org.ocpsoft.rewrite.config.ConditionBuilder
- and(Condition) - Method in class org.ocpsoft.rewrite.config.DefaultConditionBuilder
- and(Operation) - Method in class org.ocpsoft.rewrite.config.DefaultOperationBuilder
- and(Operation) - Method in interface org.ocpsoft.rewrite.config.OperationBuilder
-
Join this instance with another
Operation. - And - Class in org.ocpsoft.rewrite.config
-
Evaluates all provided
Conditioninstances. - andNot(Condition) - Method in interface org.ocpsoft.rewrite.config.ConditionBuilder
- andNot(Condition) - Method in class org.ocpsoft.rewrite.config.DefaultConditionBuilder
- any(Condition) - Static method in class org.ocpsoft.rewrite.config.Not
-
Evaluates all provided
Conditioninstances. - any(Condition...) - Static method in class org.ocpsoft.rewrite.config.Or
-
Creates a new
Orcondition.
B
- balancedCapture(char[], int, int, ParseTools.CaptureType) - Static method in class org.ocpsoft.rewrite.util.ParseTools
-
Return the index of the terminating character in the group, excluding markers.
- begin() - Static method in class org.ocpsoft.rewrite.config.ConfigurationBuilder
-
Begin defining a new fluent
Configuration. - binding(Retrieval) - Static method in class org.ocpsoft.rewrite.config.Invoke
-
Invoke the given
Retrievaland processInvocationResultHandlerinstances on the result value (if any.) - binding(Submission, Retrieval) - Static method in class org.ocpsoft.rewrite.config.Invoke
-
Invoke
Submission.submit(Rewrite, EvaluationContext, Object), use the result of the givenRetrieval.retrieve(Rewrite, EvaluationContext)as the value for this submission. - Binding - Interface in org.ocpsoft.rewrite.bind
-
Interface declaring the common tasks that must be performed when evaluating any
Binding - bindsTo(Binding) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- bindsTo(Binding) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleParameterMatches
- bindsTo(Binding) - Method in class org.ocpsoft.rewrite.param.ParameterBuilder
- bindsTo(Binding) - Method in interface org.ocpsoft.rewrite.param.ParameterConfiguration
-
Add a
Bindingto thisParameterConfiguration. - BRACE - Enum constant in enum org.ocpsoft.rewrite.util.ParseTools.CaptureType
- BRACKET - Enum constant in enum org.ocpsoft.rewrite.util.ParseTools.CaptureType
- build(List<Object>) - Method in interface org.ocpsoft.rewrite.param.ParameterizedPatternBuilder
-
Use this expression's pattern to build a
Stringfrom the given values. - build(List<Object>) - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
- build(Map<String, Object>) - Method in interface org.ocpsoft.rewrite.param.ParameterizedPatternBuilder
-
Use this expression to build a
Stringfrom given values. - build(Map<String, Object>) - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
- build(Rewrite, EvaluationContext) - Method in interface org.ocpsoft.rewrite.param.ParameterizedPatternBuilder
-
Use this expression to build a
Stringfrom this expression's pattern. - build(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
- build(Rewrite, EvaluationContext, Transposition<String>) - Method in interface org.ocpsoft.rewrite.param.ParameterizedPatternBuilder
-
Use this expression to build a
Stringfrom this expression's pattern. - build(Rewrite, EvaluationContext, Transposition<String>) - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
- bundle(String, String) - Static method in class org.ocpsoft.rewrite.transposition.LocaleTransposition
-
Create a
Bindingto aResourceBundle, where the initial boundParametervalue is used as the bundle lookup key.
C
- call(Parameterized) - Method in interface org.ocpsoft.rewrite.config.ParameterizedCallback
- CapturingGroup(char[], int, int) - Constructor for class org.ocpsoft.rewrite.util.ParseTools.CapturingGroup
- clear() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- clear() - Method in interface org.ocpsoft.rewrite.context.Context
-
Clear the contents of this context and reset to a "like-new" state.
- clear() - Method in class org.ocpsoft.rewrite.context.ContextBase
- clear() - Method in class org.ocpsoft.rewrite.util.CompositeMap
- clone() - Method in class org.ocpsoft.rewrite.util.CompositeMap
- CompositeCondition - Interface in org.ocpsoft.rewrite.config
-
A
Conditionthat aggregates one or more conditions. - CompositeMap<KEYTYPE,
VALUETYPE> - Class in org.ocpsoft.rewrite.util -
Mapimplementation supporting delegation to otherMapinstances configured withCompositeMap.addDelegate(Map). - CompositeMap() - Constructor for class org.ocpsoft.rewrite.util.CompositeMap
- CompositeOperation - Interface in org.ocpsoft.rewrite.config
-
An
Operationthat aggregates one or more operations. - CompositeRule - Interface in org.ocpsoft.rewrite.config
- Condition - Interface in org.ocpsoft.rewrite.config
-
A condition that must be met in order for evaluation to return true.
- ConditionBuilder - Interface in org.ocpsoft.rewrite.config
- Conditions - Class in org.ocpsoft.rewrite.config
-
Utility for creating and wrapping
Conditioninstances. - Conditions() - Constructor for class org.ocpsoft.rewrite.config.Conditions
- conditionToString() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- ConditionVisit - Class in org.ocpsoft.rewrite.config
-
This class allows
Visitors to walk through aConditiontree which may containCompositeConditionelements. - ConditionVisit(Condition) - Constructor for class org.ocpsoft.rewrite.config.ConditionVisit
-
Initialize class with the supplied root
Condition - ConfigurableParameter<IMPLTYPE extends ConfigurableParameter<IMPLTYPE>> - Interface in org.ocpsoft.rewrite.param
-
Provides mutable metadata for handling parameter behavior in
ParameterizedCondition,Operation, andRuleinstances. - Configuration - Interface in org.ocpsoft.rewrite.config
-
Configuration for the
Rewriteframework. - ConfigurationBuilder - Class in org.ocpsoft.rewrite.config
-
A fluent builder for defining
Configurationobjects. - ConfigurationBuilderRoot - Interface in org.ocpsoft.rewrite.config
- ConfigurationCacheProvider<T> - Interface in org.ocpsoft.rewrite.spi
-
Provides
Configurationcaching strategies for the Rewrite runtime environment. - ConfigurationLoader - Class in org.ocpsoft.rewrite.config
-
Responsible for loading all
ConfigurationProviderinstances, and building a single unifiedConfigurationbased onWeighted.priority() - ConfigurationLoader(Object) - Constructor for class org.ocpsoft.rewrite.config.ConfigurationLoader
- ConfigurationProvider<T> - Interface in org.ocpsoft.rewrite.config
-
Provides
Configurationto the Rewrite runtime environment. - ConfigurationRuleBuilder - Class in org.ocpsoft.rewrite.config
-
An intermediate stage
Ruleconfiguration. - ConfigurationRuleBuilderCustom - Interface in org.ocpsoft.rewrite.config
-
An intermediate stage
Ruleconfiguration. - ConfigurationRuleBuilderInterceptor - Interface in org.ocpsoft.rewrite.spi
-
Intercepts values passed to the methods of
ConfigurationBuilderwhen defining rules. - ConfigurationRuleBuilderOtherwise - Interface in org.ocpsoft.rewrite.config
-
An intermediate stage
Ruleconfiguration. - ConfigurationRuleBuilderPerform - Interface in org.ocpsoft.rewrite.config
-
An intermediate stage
Ruleconfiguration. - ConfigurationRuleBuilderWhen - Interface in org.ocpsoft.rewrite.config
-
An intermediate stage
Ruleconfiguration. - ConfigurationRuleBuilderWithId - Interface in org.ocpsoft.rewrite.config
-
An intermediate stage
Ruleconfiguration. - ConfigurationRuleBuilderWithMetadata - Interface in org.ocpsoft.rewrite.config
- ConfigurationRuleBuilderWithPriority - Interface in org.ocpsoft.rewrite.config
-
An intermediate stage
Ruleconfiguration. - ConfigurationRuleBuilderWithPriorityAndId - Interface in org.ocpsoft.rewrite.config
-
An intermediate stage
Ruleconfiguration. - ConfigurationRuleParameter - Interface in org.ocpsoft.rewrite.config
-
A
ConfigurationRuleBuilderwith aParameter - ConfigurationRuleParameterBuilder - Class in org.ocpsoft.rewrite.config
- ConfigurationRuleParameterBuilder(ConfigurationRuleBuilder, ConfigurableParameter<?>) - Constructor for class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- ConfigurationRuleParameterMatches - Interface in org.ocpsoft.rewrite.config
-
A
ConfigurationRuleParameterwith a matches clause. - ConfigurationRuleParameterWhere - Interface in org.ocpsoft.rewrite.config
-
A
ConfigurationRuleParameterwith a where clause. - configuredBy(ParameterConfigurator) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- configuredBy(ParameterConfigurator) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleParameterMatches
-
Add a
ParameterConfiguratorwith which thisParameterwill be configured. - configuredBy(ParameterConfigurator) - Method in class org.ocpsoft.rewrite.param.ParameterBuilder
- configuredBy(ParameterConfigurator) - Method in interface org.ocpsoft.rewrite.param.ParameterConfiguration
-
Add a
ParameterConfiguratorwith which thisParameterConfigurationwill be configured. - constrainedBy(Constraint<String>) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- constrainedBy(Constraint<String>) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleParameterMatches
-
Add a
Constraintto which this objectIMPLTYPEmust match. - constrainedBy(Constraint<String>) - Method in class org.ocpsoft.rewrite.param.ParameterBuilder
- constrainedBy(Constraint<String>) - Method in interface org.ocpsoft.rewrite.param.ParameterConfiguration
-
Add a constraint to which this
ParameterConfigurationmust match. - Constraint<T> - Interface in org.ocpsoft.rewrite.param
-
Used to verify or restrict values before they are converted via the
ConverterAPI. - contains(String) - Method in class org.ocpsoft.rewrite.param.DefaultParameterStore
- contains(String) - Method in interface org.ocpsoft.rewrite.param.ParameterStore
-
Return
trueif thisParameterStorecontains aParameterwith the given name, otherwise returnfalse. - containsKey(Object) - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- containsKey(Object) - Method in interface org.ocpsoft.rewrite.context.Context
-
Return
trueif this context contains an entry with the given key. - containsKey(Object) - Method in class org.ocpsoft.rewrite.context.ContextBase
- containsKey(Object) - Method in class org.ocpsoft.rewrite.util.CompositeMap
- containsValue(Object) - Method in class org.ocpsoft.rewrite.util.CompositeMap
- Context - Interface in org.ocpsoft.rewrite.context
-
An object capable of storing and retrieving values.
- ContextBase - Class in org.ocpsoft.rewrite.context
-
Base
Contextabstract class. - ContextBase() - Constructor for class org.ocpsoft.rewrite.context.ContextBase
- contextMap - Variable in class org.ocpsoft.rewrite.config.RuleBuilder
- convert(Rewrite, EvaluationContext, Object) - Method in interface org.ocpsoft.rewrite.param.Converter
-
Convert the given
Objectinto the expected type. - convert(Rewrite, EvaluationContext, Converter<?>, Object) - Static method in class org.ocpsoft.rewrite.util.ValueHolderUtil
- convertedBy(Converter<?>) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- convertedBy(Converter<?>) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleParameterMatches
- convertedBy(Converter<?>) - Method in class org.ocpsoft.rewrite.param.ParameterBuilder
- convertedBy(Converter<?>) - Method in interface org.ocpsoft.rewrite.param.ParameterConfiguration
-
Set the
Converterwith which thisParameterConfigurationvalue will be converted. - Converter<T> - Interface in org.ocpsoft.rewrite.param
- ConverterProvider - Interface in org.ocpsoft.rewrite.spi
-
SPI for providing integration with other conversion frameworks.
- create() - Static method in class org.ocpsoft.rewrite.config.Conditions
-
Return a new
DefaultConditionBuilderthat evaluates toTruewhen#evaluate(Rewrite, EvaluationContext)is invoked. - create() - Static method in class org.ocpsoft.rewrite.config.Operations
-
Return a new
DefaultOperationBuilderthat takes no action when#perform(Rewrite, EvaluationContext)is invoked. - create(Object) - Static method in class org.ocpsoft.rewrite.config.ConfigurationLoader
-
Get a new
ConfigurationLoaderinstance. - createKey(Rewrite, EvaluationContext) - Method in interface org.ocpsoft.rewrite.spi.RuleCacheProvider
-
Create a unique key for the given
Rewriteevent andEvaluationContextstates.
D
- DefaultConditionBuilder - Class in org.ocpsoft.rewrite.config
-
Used as a base class to create fluent relationships between
Conditionobjects; this class adds logical operators to any class extending it. - DefaultConditionBuilder() - Constructor for class org.ocpsoft.rewrite.config.DefaultConditionBuilder
- DefaultOperationBuilder - Class in org.ocpsoft.rewrite.config
-
Used as a base class to create fluent relationships between
Operationobjects; this class adds logical operators to any class extending it. - DefaultOperationBuilder() - Constructor for class org.ocpsoft.rewrite.config.DefaultOperationBuilder
- DefaultParameter - Class in org.ocpsoft.rewrite.param
-
A default implementation of
Parameter. - DefaultParameter(String) - Constructor for class org.ocpsoft.rewrite.param.DefaultParameter
- DefaultParameterStore - Class in org.ocpsoft.rewrite.param
-
Parameterstore which retains the order, bindings, and names of parameters contained within. - DefaultParameterStore() - Constructor for class org.ocpsoft.rewrite.param.DefaultParameterStore
- DefaultParameterValueStore - Class in org.ocpsoft.rewrite.param
-
Default implementation of
ParameterValueStore - DefaultParameterValueStore() - Constructor for class org.ocpsoft.rewrite.param.DefaultParameterValueStore
-
Create a new, empty
DefaultParameterValueStoreinstance. - DefaultParameterValueStore(DefaultParameterValueStore) - Constructor for class org.ocpsoft.rewrite.param.DefaultParameterValueStore
-
Create a new
DefaultParameterValueStoreinstance, copying allParameterand value pairs from the given instance. - define() - Static method in class org.ocpsoft.rewrite.config.RuleBuilder
-
Returns a new
RuleBuilderinstance. - define(String) - Static method in class org.ocpsoft.rewrite.config.RuleBuilder
-
Returns a new
RuleBuilderinstance, set with the givenRuleID. - Direction - Class in org.ocpsoft.rewrite.config
-
Responsible for evaluating
Rewriteevents on whether they areInboundRewriteorOutboundRewriteevents. - Direction() - Constructor for class org.ocpsoft.rewrite.config.Direction
- directoryExists(File) - Static method in class org.ocpsoft.rewrite.config.Filesystem
E
- encodePath() - Static method in class org.ocpsoft.rewrite.util.Transpositions
- enqueueSubmission(Rewrite, EvaluationContext, Parameter<?>, Object) - Static method in class org.ocpsoft.rewrite.util.ParameterUtils
- entrySet() - Method in class org.ocpsoft.rewrite.util.CompositeMap
- equals(Object) - Method in class org.ocpsoft.rewrite.bind.Evaluation
- equals(Object) - Method in class org.ocpsoft.rewrite.param.RegexConstraint
- evaluate(Configuration) - Static method in class org.ocpsoft.rewrite.config.Subset
- evaluate(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.And
- evaluate(Rewrite, EvaluationContext) - Method in interface org.ocpsoft.rewrite.config.Condition
-
Evaluate this condition against the given
Rewriteevent. - evaluate(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- evaluate(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.False
- evaluate(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.Filesystem
- evaluate(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.Not
- evaluate(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.Or
- evaluate(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- evaluate(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.True
- EVALUATING - Enum constant in enum org.ocpsoft.rewrite.context.RewriteState
-
The system is currently evaluating configured
Conditioninstances. - Evaluation - Class in org.ocpsoft.rewrite.bind
- EvaluationContext - Interface in org.ocpsoft.rewrite.context
F
- False - Class in org.ocpsoft.rewrite.config
-
Conditionthat always returnsfalse. - False() - Constructor for class org.ocpsoft.rewrite.config.False
- fileExists(File) - Static method in class org.ocpsoft.rewrite.config.Filesystem
- Filesystem - Class in org.ocpsoft.rewrite.config
- Flow - Interface in org.ocpsoft.rewrite.event
-
Represents the current
Rewriteevent lifecycle state.
G
- get(Object) - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- get(Object) - Method in interface org.ocpsoft.rewrite.context.Context
-
Get the value in the context map defined by the given key.
- get(Object) - Method in class org.ocpsoft.rewrite.context.ContextBase
- get(Object) - Method in interface org.ocpsoft.rewrite.spi.RuleCacheProvider
-
Get
Ruleinstances matching the given cache key. - get(Object) - Method in class org.ocpsoft.rewrite.util.CompositeMap
- get(String) - Method in class org.ocpsoft.rewrite.param.DefaultParameterStore
- get(String) - Method in interface org.ocpsoft.rewrite.param.ParameterStore
-
Get the
Parameterwith the given name. - get(String, Parameter<?>) - Method in class org.ocpsoft.rewrite.param.DefaultParameterStore
- get(String, Parameter<?>) - Method in interface org.ocpsoft.rewrite.param.ParameterStore
-
Retrieve the
Parameterwith the given name, otherwise use the default, if supplied. - getBegin() - Method in enum org.ocpsoft.rewrite.util.ParseTools.CaptureType
- getBindings() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- getBindings() - Method in class org.ocpsoft.rewrite.param.ImmutableParameter
- getBindings() - Method in interface org.ocpsoft.rewrite.param.Parameter
- getBindings() - Method in class org.ocpsoft.rewrite.param.ParameterBuilder
- getBuilder() - Method in interface org.ocpsoft.rewrite.param.ParameterizedPatternParser
-
Return the
ParameterizedPatternBuildercorresponding to the pattern with which thisParameterizedPatternParserwas constructed. - getBuilder() - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternParser
- getByConverterId(String) - Method in interface org.ocpsoft.rewrite.spi.ConverterProvider
-
Create a
Converterby some unique ID. - getByConverterType(Class<?>) - Method in interface org.ocpsoft.rewrite.spi.ConverterProvider
-
Create a
Converterby a third party converter class. - getByTargetType(Class<?>) - Method in interface org.ocpsoft.rewrite.spi.ConverterProvider
-
Create a
Converterby a target type. - getByTargetType(Class<?>) - Method in interface org.ocpsoft.rewrite.spi.ValidatorProvider
-
Create a
Validatorby a target type. - getByValidatorId(String) - Method in interface org.ocpsoft.rewrite.spi.ValidatorProvider
-
Create a
Validatorby some unique ID. - getByValidatorType(Class<?>) - Method in interface org.ocpsoft.rewrite.spi.ValidatorProvider
-
Create a
Validatorby a third party Validator class. - getCaptured() - Method in class org.ocpsoft.rewrite.util.ParseTools.CapturingGroup
- getCompiledPattern(ParameterStore) - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternParser
- getConditionBuilder() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
-
Return the underlying
ConditionBuilder - getConditions() - Method in class org.ocpsoft.rewrite.config.And
- getConditions() - Method in interface org.ocpsoft.rewrite.config.CompositeCondition
-
Returns all
Conditionobjects contained within thisCompositeCondition; otherwise, returns an emptyList. - getConditions() - Method in class org.ocpsoft.rewrite.config.Not
- getConditions() - Method in class org.ocpsoft.rewrite.config.Or
- getConditions() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- getConfiguration(T) - Method in interface org.ocpsoft.rewrite.config.ConfigurationProvider
-
Return the additional configuration.
- getConfiguration(T) - Method in interface org.ocpsoft.rewrite.spi.ConfigurationCacheProvider
-
Return the cached
Configuration, or null of the cache is empty or unprimed. - getConstraints() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- getConstraints() - Method in class org.ocpsoft.rewrite.param.ImmutableParameter
- getConstraints() - Method in interface org.ocpsoft.rewrite.param.Parameter
- getConstraints() - Method in class org.ocpsoft.rewrite.param.ParameterBuilder
- getConverter() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- getConverter() - Method in class org.ocpsoft.rewrite.param.ImmutableParameter
- getConverter() - Method in interface org.ocpsoft.rewrite.param.Parameter
- getConverter() - Method in class org.ocpsoft.rewrite.param.ParameterBuilder
- getEnd() - Method in enum org.ocpsoft.rewrite.util.ParseTools.CaptureType
- getEnd() - Method in class org.ocpsoft.rewrite.util.ParseTools.CapturingGroup
- getEvaluatedRules() - Method in class org.ocpsoft.rewrite.AbstractRewrite
- getEvaluatedRules() - Method in interface org.ocpsoft.rewrite.event.Rewrite
- getExpression() - Method in class org.ocpsoft.rewrite.config.Filesystem
-
Get the
ParameterizedPatternof thisFilesystem. - getFlow() - Method in interface org.ocpsoft.rewrite.event.Rewrite
-
Get the current lifecycle
Flow. - getFullName() - Static method in class org.ocpsoft.rewrite.Version
- getGroups(ParseTools.CaptureType, char[]) - Static method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternParser
- getId() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- getId() - Method in interface org.ocpsoft.rewrite.config.Rule
-
Get the ID for this
Rule - getId() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- getIndex() - Method in exception org.ocpsoft.rewrite.param.ParameterizedPatternSyntaxException
-
Returns the index at which the error is located in the pattern, or -1 if the location is not known.
- getInstance(Class<?>) - Method in interface org.ocpsoft.rewrite.spi.InstanceProvider
-
Get an instance of the given
Classtype. - getInstance(EvaluationContext) - Static method in class org.ocpsoft.rewrite.param.DefaultParameterStore
-
Retrieve the current
ParameterStorefrom the givenEvaluationContextinstance. - getInstance(EvaluationContext) - Static method in class org.ocpsoft.rewrite.param.DefaultParameterValueStore
-
Retrieve the current
ParameterValueStorefrom the givenEvaluationContextinstance. - getListValue(Map<String, List<T>>, String, int) - Static method in class org.ocpsoft.rewrite.util.Maps
- getMessage() - Method in exception org.ocpsoft.rewrite.param.ParameterizedPatternSyntaxException
-
Returns a string containing the description of the syntax error and its location, the erroneous parameterized pattern string, and a visual location of the error index within the pattern (if possible.)
- getName() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- getName() - Method in class org.ocpsoft.rewrite.param.ImmutableParameter
- getName() - Method in interface org.ocpsoft.rewrite.param.Parameter
-
Get the name of this
Parameter - getName() - Method in class org.ocpsoft.rewrite.param.ParameterBuilder
- getNegationCount(EvaluationContext) - Static method in class org.ocpsoft.rewrite.config.Conditions
-
Returns the number of "Not"s that have been evaluated in the current evaluation process.
- getOperationBuilder() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
-
Return the underlying
OperationBuilder - getOperations() - Method in interface org.ocpsoft.rewrite.config.CompositeOperation
-
Returns all
Operationobjects contained within thisCompositeOperation; otherwise, returns an emptyList. - getOperations() - Method in class org.ocpsoft.rewrite.config.Perform
- getOperations() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- getOperations() - Method in class org.ocpsoft.rewrite.config.Subset
- getParameters() - Method in interface org.ocpsoft.rewrite.spi.GlobalParameterProvider
- getParameters(EvaluationContext) - Method in interface org.ocpsoft.rewrite.param.ParameterizedPatternResult
- getParameterStore() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- getParameterStore() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- getParameterStore() - Method in interface org.ocpsoft.rewrite.param.ParameterizedRule
-
Return the
ParameterStorefor thisRule - getParser() - Method in interface org.ocpsoft.rewrite.param.ParameterizedPatternBuilder
-
Return the
ParameterizedPatternParsercorresponding to the pattern with which thisParameterizedPatternBuilderwas constructed. - getParser() - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
- getPattern() - Method in interface org.ocpsoft.rewrite.param.ParameterizedPattern
-
Get the pattern for which this
ParameterizedPatternrepresents. - getPattern() - Method in exception org.ocpsoft.rewrite.param.ParameterizedPatternSyntaxException
-
Returns the pattern containing errors.
- getPattern() - Method in class org.ocpsoft.rewrite.param.RegexConstraint
- getPattern() - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
- getPattern() - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternParser
- getRequiredParameterNames() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- getRequiredParameterNames() - Method in class org.ocpsoft.rewrite.config.Filesystem
- getRequiredParameterNames() - Method in class org.ocpsoft.rewrite.config.Log
- getRequiredParameterNames() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- getRequiredParameterNames() - Method in class org.ocpsoft.rewrite.config.Subset
- getRequiredParameterNames() - Method in interface org.ocpsoft.rewrite.param.Parameterized
-
Get all required
Parameternames for thisParameterizedinstance. - getRequiredParameterNames() - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
- getRequiredParameterNames() - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternParser
- getRewriteContext() - Method in class org.ocpsoft.rewrite.AbstractRewrite
- getRewriteContext() - Method in interface org.ocpsoft.rewrite.event.Rewrite
- getRuleBuilder() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
-
Provides access to the
RuleBuilderfor the currentRule. - getRuleBuilders() - Method in class org.ocpsoft.rewrite.config.ConfigurationBuilder
- getRuleBuilders() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- getRules() - Method in interface org.ocpsoft.rewrite.config.CompositeRule
-
Returns a list of
Ruleinstances contained by thisCompositeRule. - getRules() - Method in interface org.ocpsoft.rewrite.config.Configuration
-
Get the list of
Ruleinstances defined by thisConfiguration - getRules() - Method in class org.ocpsoft.rewrite.config.ConfigurationBuilder
- getRules() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- getRules() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- getRules() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- getStart() - Method in class org.ocpsoft.rewrite.util.ParseTools.CapturingGroup
- getState() - Method in interface org.ocpsoft.rewrite.context.EvaluationContext
-
Return the current
RewriteStatefor thisEvaluationContext. - getTranspositions() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- getTranspositions() - Method in class org.ocpsoft.rewrite.param.ImmutableParameter
- getTranspositions() - Method in interface org.ocpsoft.rewrite.param.Parameter
- getTranspositions() - Method in class org.ocpsoft.rewrite.param.ParameterBuilder
- getValidator() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- getValidator() - Method in class org.ocpsoft.rewrite.param.ImmutableParameter
- getValidator() - Method in interface org.ocpsoft.rewrite.param.Parameter
- getValidator() - Method in class org.ocpsoft.rewrite.param.ParameterBuilder
- getVersion() - Static method in class org.ocpsoft.rewrite.Version
- GlobalParameterProvider - Interface in org.ocpsoft.rewrite.spi
-
SPI for providing pre-configured global
Parametertypes.
H
- handle(Rewrite, EvaluationContext, Object) - Method in interface org.ocpsoft.rewrite.spi.InvocationResultHandler
- hashCode() - Method in class org.ocpsoft.rewrite.bind.Evaluation
- hashCode() - Method in class org.ocpsoft.rewrite.param.RegexConstraint
- hasValue(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.bind.Evaluation
I
- identity() - Static method in class org.ocpsoft.rewrite.util.Transpositions
- ImmutableParameter - Class in org.ocpsoft.rewrite.param
-
A an immutable implementation of
Parameter. - ImmutableParameter(Parameter<?>) - Constructor for class org.ocpsoft.rewrite.param.ImmutableParameter
- InboundRewrite - Interface in org.ocpsoft.rewrite.event
-
Defines a
Rewriteevent that is in the inbound direction. - init(C) - Method in interface org.ocpsoft.rewrite.spi.RewriteProvider
-
Initialize this
RewriteProvider - initialize(EvaluationContext, Object) - Static method in class org.ocpsoft.rewrite.util.ParameterUtils
-
Initialize the
Parameterizedinstance with theParameterStorefrom the givenEvaluationContext, also record required parameter names in theParameterStoreand initialize with a newParameterinstance. - initialize(ParameterStore, Object) - Static method in class org.ocpsoft.rewrite.util.ParameterUtils
-
Initialize the
Parameterizedinstance with the givenParameterStore, also record required parameter names in theParameterStoreand initialize with a newParameterinstance. - InstanceProvider - Interface in org.ocpsoft.rewrite.spi
-
Responsible for performing object instance lookups.
- Instances - Class in org.ocpsoft.rewrite.util
-
Utility class for looking up instances of Java types.
- InvocationResultHandler - Interface in org.ocpsoft.rewrite.spi
- Invoke - Class in org.ocpsoft.rewrite.config
- is(Flow) - Method in interface org.ocpsoft.rewrite.event.Flow
-
Return
trueif thisFlowis equivalent to the given instance. - isEmpty() - Method in class org.ocpsoft.rewrite.param.DefaultParameterStore
- isEmpty() - Method in interface org.ocpsoft.rewrite.param.ParameterStore
- isEmpty() - Method in class org.ocpsoft.rewrite.util.CompositeMap
- isEscaped(char[], int) - Static method in class org.ocpsoft.rewrite.util.ParseTools
-
Return true if the character at the given cursor is escaped; otherwise, return false.
- isEvaluating() - Method in enum org.ocpsoft.rewrite.context.RewriteState
-
Return
trueif this instance is equal toRewriteState.EVALUATING. - isHandled() - Method in interface org.ocpsoft.rewrite.event.Flow
-
Return
trueif thisFlowrepresents a handled state. - isInbound() - Static method in class org.ocpsoft.rewrite.config.Direction
-
Returns a new
Conditionthat returns true when operating on anInboundRewriteevent. - isNegated(EvaluationContext) - Static method in class org.ocpsoft.rewrite.config.Conditions
-
Indicates whether the current
Conditionis being negated. - isOutbound() - Static method in class org.ocpsoft.rewrite.config.Direction
-
Returns a new
Conditionthat returns true when operating on anOutboundRewriteevent. - isParameterComplete(Rewrite, EvaluationContext) - Method in interface org.ocpsoft.rewrite.param.ParameterizedPatternBuilder
-
Returns
trueif all parameters required by this builder are available; otherwise, returnsfalse. - isParameterComplete(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
- isPerforming() - Method in enum org.ocpsoft.rewrite.context.RewriteState
-
Return
trueif this instance is equal toRewriteState.PERFORMING. - isRelocated() - Method in interface org.ocpsoft.rewrite.config.Relocatable
-
Returns true if this object should be relocated, or has been relocated.
- isRelocated() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- isSatisfiedBy(Rewrite, EvaluationContext, String) - Method in class org.ocpsoft.rewrite.param.RegexConstraint
- isSatisfiedBy(Rewrite, EvaluationContext, String) - Method in class org.ocpsoft.rewrite.transposition.LocaleTransposition
- isSatisfiedBy(Rewrite, EvaluationContext, T) - Method in interface org.ocpsoft.rewrite.param.Constraint
- isValid(Rewrite, EvaluationContext) - Method in interface org.ocpsoft.rewrite.param.ParameterizedPatternResult
-
Validate all
Parametervalues defined within the originalParameterizedPattern. - isValid(Rewrite, EvaluationContext, Parameter<?>, String) - Method in class org.ocpsoft.rewrite.param.DefaultParameterValueStore
- isValid(Rewrite, EvaluationContext, Parameter<?>, String) - Method in interface org.ocpsoft.rewrite.param.ParameterValueStore
-
Validate the given
Parameterand value. - isValid(Rewrite, EvaluationContext, Parameter<?>, String) - Method in interface org.ocpsoft.rewrite.spi.GlobalParameterProvider
-
Validate the given
Parameter. - isValid(Rewrite, EvaluationContext, T) - Method in interface org.ocpsoft.rewrite.param.Validator
-
Return
trueif the given value is valid; otherwise returnfalse. - iterator() - Method in class org.ocpsoft.rewrite.param.DefaultParameterStore
- iterator() - Method in class org.ocpsoft.rewrite.param.DefaultParameterValueStore
K
- keySet() - Method in class org.ocpsoft.rewrite.util.CompositeMap
L
- loadConfiguration(Object) - Method in class org.ocpsoft.rewrite.config.ConfigurationLoader
-
Load all
ConfigurationProviderinstances, sort byWeighted.priority(), and return a unified, compositeConfigurationobject. - LocaleTransposition - Class in org.ocpsoft.rewrite.transposition
-
A
Transpositionand/orConstraintresponsible for translating values from their matching translation from aResourceBundle. - log - Static variable in class org.ocpsoft.rewrite.config.ConfigurationLoader
- Log - Class in org.ocpsoft.rewrite.config
-
An
Operationresponsible for logging a message. - logEvaluatedRules(Rewrite, Logger.Level) - Static method in class org.ocpsoft.rewrite.AbstractRewrite
- logLoadedServices(Logger, Class<T>, List<? extends T>) - Static method in class org.ocpsoft.rewrite.util.ServiceLogger
- lookup(Class<T>) - Static method in class org.ocpsoft.rewrite.util.Instances
-
Lookup an instance of the given
Classtype.
M
- Maps - Class in org.ocpsoft.rewrite.util
- Maps() - Constructor for class org.ocpsoft.rewrite.util.Maps
- matches() - Method in interface org.ocpsoft.rewrite.param.ParameterizedPatternResult
- matches(String) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleParameter
- matches(String) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- matches(String) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleParameterWhere
- message(Logger.Level, String) - Static method in class org.ocpsoft.rewrite.config.Log
-
Log a message at the given
Logger.Level.
N
- NEGATION_COUNT_KEY - Static variable in class org.ocpsoft.rewrite.config.Conditions
- NoOp - Class in org.ocpsoft.rewrite.config
-
An
OperationBuilderthat does nothing. - NoOp() - Constructor for class org.ocpsoft.rewrite.config.NoOp
- Not - Class in org.ocpsoft.rewrite.config
-
Evaluates all provided
Conditioninstances.
O
- onInbound(Operation) - Static method in class org.ocpsoft.rewrite.config.Operations
-
Wrap the given
Operationin a newInboundOperationwhich will invoke the wrapped operation only for inbound rewrites. - onOutbound(Operation) - Static method in class org.ocpsoft.rewrite.config.Operations
- onTranspositionFailed(Operation) - Method in class org.ocpsoft.rewrite.transposition.LocaleTransposition
-
Specify an
Operationto be added as a preOperation in case theTranspositionfailed. - Operation - Interface in org.ocpsoft.rewrite.config
-
Defines an operation to be performed after successful evaluation a
Rewriteevent. - OperationBuilder - Interface in org.ocpsoft.rewrite.config
- Operations - Class in org.ocpsoft.rewrite.config
-
Utility for creating and wrapping
Operationinstances. - Operations() - Constructor for class org.ocpsoft.rewrite.config.Operations
- operationToString() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- OperationVisit - Class in org.ocpsoft.rewrite.config
-
This class allows
Visitors to walk through anOperationtree which may containCompositeOperationelements. - OperationVisit(Operation) - Constructor for class org.ocpsoft.rewrite.config.OperationVisit
-
Initialize class with the supplied root
Operation - or(Condition) - Method in interface org.ocpsoft.rewrite.config.ConditionBuilder
-
Append a new
Conditionto this builder. - or(Condition) - Method in class org.ocpsoft.rewrite.config.DefaultConditionBuilder
- Or - Class in org.ocpsoft.rewrite.config
-
Evaluates all provided
Conditioninstances. - org.ocpsoft.rewrite - package org.ocpsoft.rewrite
- org.ocpsoft.rewrite.bind - package org.ocpsoft.rewrite.bind
- org.ocpsoft.rewrite.config - package org.ocpsoft.rewrite.config
- org.ocpsoft.rewrite.context - package org.ocpsoft.rewrite.context
- org.ocpsoft.rewrite.event - package org.ocpsoft.rewrite.event
- org.ocpsoft.rewrite.exception - package org.ocpsoft.rewrite.exception
- org.ocpsoft.rewrite.param - package org.ocpsoft.rewrite.param
- org.ocpsoft.rewrite.spi - package org.ocpsoft.rewrite.spi
- org.ocpsoft.rewrite.transposition - package org.ocpsoft.rewrite.transposition
- org.ocpsoft.rewrite.util - package org.ocpsoft.rewrite.util
- orNot(Condition) - Method in interface org.ocpsoft.rewrite.config.ConditionBuilder
-
Append a new
Conditionto this builder. - orNot(Condition) - Method in class org.ocpsoft.rewrite.config.DefaultConditionBuilder
- otherwise(List<Operation>) - Method in interface org.ocpsoft.rewrite.spi.ConfigurationRuleBuilderInterceptor
-
Intercept, modify, or replace the given
Operationinstances - otherwise(Operation) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- otherwise(Operation) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderPerform
- otherwise(Operation) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderWhen
- otherwise(Operation) - Method in interface org.ocpsoft.rewrite.spi.ConfigurationRuleBuilderInterceptor
-
Intercept, modify, or replace the given
Operation - otherwise(Operation, Operation...) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- otherwise(Operation, Operation...) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderPerform
- otherwise(Operation, Operation...) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderWhen
- OutboundRewrite - Interface in org.ocpsoft.rewrite.event
-
Defines a
Rewriteevent that is in the outbound direction.
P
- Parameter<IMPLTYPE extends Parameter<IMPLTYPE>> - Interface in org.ocpsoft.rewrite.param
-
Provides metadata for handling parameter behavior in
ParameterizedCondition,Operation, andRuleinstances. - ParameterBuilder<IMPLTYPE extends ParameterBuilder<IMPLTYPE>> - Class in org.ocpsoft.rewrite.param
-
An base implementation of
Parameter - ParameterBuilder(String) - Constructor for class org.ocpsoft.rewrite.param.ParameterBuilder
-
Create a new
ParameterBuilderinstance with the given name. - ParameterConfiguration<IMPLTYPE extends ParameterConfiguration<IMPLTYPE>> - Interface in org.ocpsoft.rewrite.param
-
The set of mutators for configuring
Parameterinstances. - ParameterConfigurator - Interface in org.ocpsoft.rewrite.param
-
Marker interface for any object types that are used in the
ParameterConfigurationinterface. - ParameterizationException - Exception in org.ocpsoft.rewrite.exception
-
Thrown when a
ParameterizedPatternerror has occurred. - ParameterizationException(String) - Constructor for exception org.ocpsoft.rewrite.exception.ParameterizationException
- ParameterizationException(String, Throwable) - Constructor for exception org.ocpsoft.rewrite.exception.ParameterizationException
- Parameterized - Interface in org.ocpsoft.rewrite.param
-
Represents an object which may be parameterized and bound.
- ParameterizedCallback - Interface in org.ocpsoft.rewrite.config
-
Callback used by
ParameterizedConditionVisitor. - ParameterizedConditionVisitor - Class in org.ocpsoft.rewrite.config
- ParameterizedConditionVisitor(ParameterizedCallback) - Constructor for class org.ocpsoft.rewrite.config.ParameterizedConditionVisitor
- ParameterizedOperationVisitor - Class in org.ocpsoft.rewrite.config
- ParameterizedOperationVisitor(ParameterizedCallback) - Constructor for class org.ocpsoft.rewrite.config.ParameterizedOperationVisitor
- ParameterizedPattern - Interface in org.ocpsoft.rewrite.param
-
A
Parameterizedpattern (template) that may be used to parse or generateStringinstances. - ParameterizedPatternBuilder - Interface in org.ocpsoft.rewrite.param
-
A
Parameterizedregular expressionPattern. - ParameterizedPatternParser - Interface in org.ocpsoft.rewrite.param
-
A
Parameterizedregular expressionPattern. - ParameterizedPatternResult - Interface in org.ocpsoft.rewrite.param
-
Stores the result of
ParameterizedPatternParser#matches(Rewrite, EvaluationContext, String). - ParameterizedPatternSyntaxException - Exception in org.ocpsoft.rewrite.param
-
Thrown when a syntax error is found in a
ParameterizedPattern. - ParameterizedPatternSyntaxException(String, String, int) - Constructor for exception org.ocpsoft.rewrite.param.ParameterizedPatternSyntaxException
-
Create a new
ParameterizedPatternSyntaxException. - ParameterizedRule - Interface in org.ocpsoft.rewrite.param
-
Represents a
Rulethat has aParameterStore. - Parameters - Class in org.ocpsoft.rewrite.param
-
Utility for extracting values from the
ParameterValueStore. - Parameters() - Constructor for class org.ocpsoft.rewrite.param.Parameters
- ParameterStore - Interface in org.ocpsoft.rewrite.param
- ParameterUtils - Class in org.ocpsoft.rewrite.util
-
Utility methods for interactive with
ParameterStoreinstances. - ParameterUtils() - Constructor for class org.ocpsoft.rewrite.util.ParameterUtils
- ParameterValueStore - Interface in org.ocpsoft.rewrite.param
- PAREN - Enum constant in enum org.ocpsoft.rewrite.util.ParseTools.CaptureType
- parse(String) - Method in interface org.ocpsoft.rewrite.param.ParameterizedPatternParser
-
Return a
ParameterizedPatternResultfor the evaluation of thisParameterizedPatternagainst the givenString. - parse(String) - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternParser
- ParseTools - Class in org.ocpsoft.rewrite.util
- ParseTools() - Constructor for class org.ocpsoft.rewrite.util.ParseTools
- ParseTools.CaptureType - Enum in org.ocpsoft.rewrite.util
- ParseTools.CapturingGroup - Class in org.ocpsoft.rewrite.util
- perform(List<Operation>) - Method in interface org.ocpsoft.rewrite.spi.ConfigurationRuleBuilderInterceptor
-
Intercept, modify, or replace the given
Operationinstances - perform(Operation) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- perform(Operation) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderCustom
- perform(Operation) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderWhen
- perform(Operation) - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- perform(Operation) - Method in interface org.ocpsoft.rewrite.spi.ConfigurationRuleBuilderInterceptor
-
Intercept, modify, or replace the given
Operation - perform(Operation, Operation...) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- perform(Operation, Operation...) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderCustom
- perform(Operation, Operation...) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderWhen
- perform(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- perform(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.Invoke
- perform(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.Log
- perform(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.NoOp
- perform(Rewrite, EvaluationContext) - Method in interface org.ocpsoft.rewrite.config.Operation
-
Perform the
Operation. - perform(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.Perform
- perform(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- perform(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.config.Subset
- Perform - Class in org.ocpsoft.rewrite.config
-
Evaluates all provided
Operationinstances. - PERFORMING - Enum constant in enum org.ocpsoft.rewrite.context.RewriteState
-
The system is currently performing configured
Operationinstances. - performRetrieval(Rewrite, EvaluationContext, Parameter<?>) - Static method in class org.ocpsoft.rewrite.util.ParameterUtils
-
Extract bound values from configured
Parameterinstances. - priority() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- property(String) - Static method in class org.ocpsoft.rewrite.bind.Evaluation
- PROVIDER_LOCATION - Static variable in interface org.ocpsoft.rewrite.config.RuleMetadata
-
The location where the
Rulewas added to theConfigurationBuilder. - put(Object, Object) - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- put(Object, Object) - Method in interface org.ocpsoft.rewrite.context.Context
-
Store a key value pair into the context.
- put(Object, Object) - Method in class org.ocpsoft.rewrite.context.ContextBase
- put(Object, List<Rule>) - Method in interface org.ocpsoft.rewrite.spi.RuleCacheProvider
-
Store a list of
Ruleinstances matching the given cache key. - put(KEYTYPE, VALUETYPE) - Method in class org.ocpsoft.rewrite.util.CompositeMap
- putAll(Map<? extends KEYTYPE, ? extends VALUETYPE>) - Method in class org.ocpsoft.rewrite.util.CompositeMap
R
- REGEX - Enum constant in enum org.ocpsoft.rewrite.util.ParseTools.CaptureType
- RegexConstraint - Class in org.ocpsoft.rewrite.param
-
Defines a
Constraintusing a regular expression. - RegexConstraint(String) - Constructor for class org.ocpsoft.rewrite.param.RegexConstraint
-
Create a new
RegexConstraintusing the given pattern. - RegexParameterizedPatternBuilder - Class in org.ocpsoft.rewrite.param
-
An
Parameterizedregular expressionPattern. - RegexParameterizedPatternBuilder(String) - Constructor for class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
-
Create a new
RegexParameterizedPatternBuilderinstance with the defaultorg.ocpsoft.rewrite.bind.parse.CaptureType#BRACEand parameter compiledPattern of ".*". - RegexParameterizedPatternBuilder(String, String) - Constructor for class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
-
Create a new
RegexParameterizedPatternBuilderinstance with the defaultParseTools.CaptureType.BRACE. - RegexParameterizedPatternBuilder(ParseTools.CaptureType, String) - Constructor for class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
-
Create a new
RegexParameterizedPatternBuilderinstance with the default parameter regex of ".*". - RegexParameterizedPatternBuilder(ParseTools.CaptureType, String, String) - Constructor for class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
-
Create a new
RegexParameterizedPatternBuilderinstance. - RegexParameterizedPatternParser - Class in org.ocpsoft.rewrite.param
-
An
Parameterizedregular expressionPattern. - RegexParameterizedPatternParser(String) - Constructor for class org.ocpsoft.rewrite.param.RegexParameterizedPatternParser
-
Create a new
RegexParameterizedPatternParserinstance with the defaultorg.ocpsoft.rewrite.bind.parse.CaptureType#BRACEand parameter pattern of ".*". - RegexParameterizedPatternParser(String, String) - Constructor for class org.ocpsoft.rewrite.param.RegexParameterizedPatternParser
-
Create a new
RegexParameterizedPatternParserinstance with the defaultParseTools.CaptureType.BRACE. - RegexParameterizedPatternParser(ParseTools.CaptureType, String) - Constructor for class org.ocpsoft.rewrite.param.RegexParameterizedPatternParser
-
Create a new
RegexParameterizedPatternParserinstance with the default parameter regex of ".*". - RegexParameterizedPatternParser(ParseTools.CaptureType, String, String) - Constructor for class org.ocpsoft.rewrite.param.RegexParameterizedPatternParser
-
Create a new
RegexParameterizedPatternParserinstance. - Relocatable - Interface in org.ocpsoft.rewrite.config
-
Defines a contract where a given object can be relocated to a new position in a data-structure.
- RelocatableRule - Interface in org.ocpsoft.rewrite.config
-
Defines a
RelocatableRule, which can be moved to a priority position in the compiled rule set that differs from theConfigurationProviderin which it was created. - remove(Object) - Method in class org.ocpsoft.rewrite.util.CompositeMap
- Retrieval - Interface in org.ocpsoft.rewrite.bind
-
Defines the methods necessary to perform
Bindingvalue retrieval. - retrieve(EvaluationContext, String) - Static method in class org.ocpsoft.rewrite.param.Parameters
-
Retrieve a single parameter value from the
ParameterValueStore. - retrieve(Rewrite, EvaluationContext) - Method in class org.ocpsoft.rewrite.bind.Evaluation
- retrieve(Rewrite, EvaluationContext) - Method in interface org.ocpsoft.rewrite.bind.Retrieval
-
Retrieve the value from its storage location.
- retrieve(Parameter<?>) - Method in class org.ocpsoft.rewrite.param.DefaultParameterValueStore
- retrieve(Parameter<?>) - Method in interface org.ocpsoft.rewrite.param.ParameterValueStore
-
Retrieve the currenet value for the given
Parameter. - retrieveConverted(Rewrite, EvaluationContext, Parameter<?>) - Method in class org.ocpsoft.rewrite.bind.Evaluation
- rewrite(T) - Method in interface org.ocpsoft.rewrite.spi.RewriteProvider
-
Handle the given
Rewriteevent. - Rewrite - Interface in org.ocpsoft.rewrite.event
-
Event propagated to registered
RewriteLifecycleListenerandRewriteProviderinstances when the rewrite lifecycle is executed. - RewriteException - Exception in org.ocpsoft.rewrite.exception
-
Exception thrown by the
Rewriteframework. - RewriteException(String) - Constructor for exception org.ocpsoft.rewrite.exception.RewriteException
- RewriteException(String, Throwable) - Constructor for exception org.ocpsoft.rewrite.exception.RewriteException
- RewriteProvider<C,
T extends Rewrite> - Interface in org.ocpsoft.rewrite.spi -
SPI for
Rewriteevent handling. - RewriteState - Enum in org.ocpsoft.rewrite.context
- Rule - Interface in org.ocpsoft.rewrite.config
- RuleBuilder - Class in org.ocpsoft.rewrite.config
-
Builder for fluently defining new composite
Ruleinstances. - RuleCacheProvider - Interface in org.ocpsoft.rewrite.spi
-
SPI for implementing
Rulecaching. - RuleMetadata - Interface in org.ocpsoft.rewrite.config
-
Defines a set of constants for accessing
Rulemetadata. - RuleVisit - Class in org.ocpsoft.rewrite.config
-
This class allows
Visitorinstances to walk through aRuletree which may containCompositeConditionorCompositeOperationelements containing other rules. - RuleVisit(Rule) - Constructor for class org.ocpsoft.rewrite.config.RuleVisit
-
Initialize class with the supplied root
Rule
S
- ServiceLogger - Class in org.ocpsoft.rewrite.util
- ServiceLogger() - Constructor for class org.ocpsoft.rewrite.util.ServiceLogger
- setConfiguration(T, Configuration) - Method in interface org.ocpsoft.rewrite.spi.ConfigurationCacheProvider
-
Store the given
Configurationinto the cache for later retrieval. - setParameterStore(ParameterStore) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- setParameterStore(ParameterStore) - Method in class org.ocpsoft.rewrite.config.Filesystem
- setParameterStore(ParameterStore) - Method in class org.ocpsoft.rewrite.config.Log
- setParameterStore(ParameterStore) - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- setParameterStore(ParameterStore) - Method in class org.ocpsoft.rewrite.config.Subset
- setParameterStore(ParameterStore) - Method in interface org.ocpsoft.rewrite.param.Parameterized
-
Initialize this
Parameterizedinstance with the globalParameterStore. - setParameterStore(ParameterStore) - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
- setParameterStore(ParameterStore) - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternParser
- shutdown(C) - Method in interface org.ocpsoft.rewrite.spi.RewriteProvider
-
Shut down this
RewriteProvider - size() - Method in class org.ocpsoft.rewrite.param.DefaultParameterStore
- size() - Method in interface org.ocpsoft.rewrite.param.ParameterStore
-
Return the number of
Parameterinstances in thisParameterStore. - size() - Method in class org.ocpsoft.rewrite.util.CompositeMap
- store(Parameter<?>) - Method in class org.ocpsoft.rewrite.param.DefaultParameterStore
- Submission - Interface in org.ocpsoft.rewrite.bind
-
Defines the methods necessary to perform, converted, validated
Bindingvalue submission. - submit(Rewrite, EvaluationContext) - Method in interface org.ocpsoft.rewrite.param.ParameterizedPatternResult
-
Submit all
Parametervalues to theParameterValueStore, only if the values are match a prior value or have not yet had a value set. - submit(Rewrite, EvaluationContext, Object) - Method in class org.ocpsoft.rewrite.bind.Evaluation
- submit(Rewrite, EvaluationContext, Object) - Method in interface org.ocpsoft.rewrite.bind.Submission
-
Store a value into the designated storage location.
- submit(Rewrite, EvaluationContext, Parameter<?>, String) - Method in class org.ocpsoft.rewrite.param.DefaultParameterValueStore
- submit(Rewrite, EvaluationContext, Parameter<?>, String) - Method in interface org.ocpsoft.rewrite.param.ParameterValueStore
-
Submit the given
Parameterand value. - submitConverted(Rewrite, EvaluationContext, Object) - Method in class org.ocpsoft.rewrite.bind.Evaluation
- Subset - Class in org.ocpsoft.rewrite.config
- supportsRetrieval() - Method in interface org.ocpsoft.rewrite.bind.Binding
-
Return true if this
Bindingsupport retrieval. - supportsRetrieval() - Method in class org.ocpsoft.rewrite.bind.Evaluation
- supportsSubmission() - Method in interface org.ocpsoft.rewrite.bind.Binding
-
Return true if this
Bindingsupports submission. - supportsSubmission() - Method in class org.ocpsoft.rewrite.bind.Evaluation
- supportsSubmission(Rewrite, EvaluationContext, Parameter<?>) - Method in interface org.ocpsoft.rewrite.spi.GlobalParameterProvider
-
Return
trueif the givenParametersupports value submission.
T
- toArrayMap(Map<String, List<String>>) - Static method in class org.ocpsoft.rewrite.util.Maps
- toString() - Method in class org.ocpsoft.rewrite.bind.Evaluation
- toString() - Method in class org.ocpsoft.rewrite.config.And
- toString() - Method in class org.ocpsoft.rewrite.config.ConfigurationBuilder
- toString() - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- toString() - Method in class org.ocpsoft.rewrite.config.False
- toString() - Method in class org.ocpsoft.rewrite.config.Invoke
- toString() - Method in class org.ocpsoft.rewrite.config.Log
- toString() - Method in class org.ocpsoft.rewrite.config.NoOp
- toString() - Method in class org.ocpsoft.rewrite.config.Not
- toString() - Method in class org.ocpsoft.rewrite.config.Or
- toString() - Method in class org.ocpsoft.rewrite.config.Perform
- toString() - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- toString() - Method in class org.ocpsoft.rewrite.config.Subset
- toString() - Method in class org.ocpsoft.rewrite.config.True
- toString() - Method in class org.ocpsoft.rewrite.context.ContextBase
- toString() - Method in class org.ocpsoft.rewrite.param.DefaultParameterStore
- toString() - Method in class org.ocpsoft.rewrite.param.DefaultParameterValueStore
- toString() - Method in class org.ocpsoft.rewrite.param.ParameterBuilder
- toString() - Method in class org.ocpsoft.rewrite.param.RegexConstraint
- toString() - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder
- toString() - Method in class org.ocpsoft.rewrite.param.RegexParameterizedPatternParser
- toString() - Method in class org.ocpsoft.rewrite.util.ParseTools.CapturingGroup
- transpose(Rewrite, EvaluationContext, String) - Method in class org.ocpsoft.rewrite.transposition.LocaleTransposition
- transpose(Rewrite, EvaluationContext, S) - Method in interface org.ocpsoft.rewrite.param.Transposition
-
Perform an operation on the given value.
- transposedBy(Transposition<String>) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- transposedBy(Transposition<String>) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleParameterMatches
-
Add a
Transpositionto thisIMPLTYPE; it will executed in the order in which it was added. - transposedBy(Transposition<String>) - Method in class org.ocpsoft.rewrite.param.ParameterBuilder
- transposedBy(Transposition<String>) - Method in interface org.ocpsoft.rewrite.param.ParameterConfiguration
-
Add a
Transpositionto thisParameterConfiguration; it will executed in the order in which it was added. - Transposition<S> - Interface in org.ocpsoft.rewrite.param
-
Used to modify
Parametervalues after they have been verified by theConstraintAPI. - Transpositions - Class in org.ocpsoft.rewrite.util
-
This class provides common implementations of the
Transpositioninterface. - Transpositions() - Constructor for class org.ocpsoft.rewrite.util.Transpositions
- True - Class in org.ocpsoft.rewrite.config
-
Conditionthat always returnstrue. - True() - Constructor for class org.ocpsoft.rewrite.config.True
V
- validatedBy(Validator<?>) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- validatedBy(Validator<?>) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleParameterMatches
- validatedBy(Validator<?>) - Method in class org.ocpsoft.rewrite.param.ParameterBuilder
- validatedBy(Validator<?>) - Method in interface org.ocpsoft.rewrite.param.ParameterConfiguration
-
Set the
Validatorwith which thisParameterConfigurationvalue will be validated. - validates(Rewrite, EvaluationContext, Validator<?>, Object) - Static method in class org.ocpsoft.rewrite.util.ValueHolderUtil
- Validator<T> - Interface in org.ocpsoft.rewrite.param
- ValidatorProvider - Interface in org.ocpsoft.rewrite.spi
-
SPI for providing integration with other validation frameworks.
- ValueHolderUtil - Class in org.ocpsoft.rewrite.util
- ValueHolderUtil() - Constructor for class org.ocpsoft.rewrite.util.ValueHolderUtil
- valueOf(String) - Static method in enum org.ocpsoft.rewrite.context.RewriteState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.ocpsoft.rewrite.util.ParseTools.CaptureType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.ocpsoft.rewrite.context.RewriteState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class org.ocpsoft.rewrite.util.CompositeMap
- values() - Static method in enum org.ocpsoft.rewrite.util.ParseTools.CaptureType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Version - Class in org.ocpsoft.rewrite
-
Helper class to read the version of Rewrite
- Version() - Constructor for class org.ocpsoft.rewrite.Version
- visit(E) - Method in interface org.ocpsoft.rewrite.util.Visitor
-
Visit the supplied object
- visit(Condition) - Method in class org.ocpsoft.rewrite.config.ParameterizedConditionVisitor
- visit(Operation) - Method in class org.ocpsoft.rewrite.config.ParameterizedOperationVisitor
- Visitor<E> - Interface in org.ocpsoft.rewrite.util
-
General purpose visitor interface
W
- when(List<Condition>) - Method in interface org.ocpsoft.rewrite.spi.ConfigurationRuleBuilderInterceptor
-
Intercept, modify, or replace the given
Conditioninstances - when(Condition) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- when(Condition) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderCustom
- when(Condition) - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- when(Condition) - Method in interface org.ocpsoft.rewrite.spi.ConfigurationRuleBuilderInterceptor
-
Intercept, modify, or replace the given
Condition - when(Condition, Condition...) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- when(Condition, Condition...) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderCustom
- where(String) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- where(String) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderOtherwise
-
Configure the
Parameterwith the given name. - where(String) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderPerform
-
Configure the
Parameterwith the given name. - where(String) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- where(String) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleParameterMatches
-
Configure the
Parameterwith the given name. - where(String) - Method in class org.ocpsoft.rewrite.config.RuleBuilder
- withId(String) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- withId(String) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderOtherwise
-
Set the ID for the current
Rule. - withId(String) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderPerform
-
Set the ID for the current
Rule. - withId(String) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderWithPriority
-
Set the ID for the current
Rule. - withId(String) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- withId(String) - Method in class org.ocpsoft.rewrite.config.RuleBuilder
-
Set the ID of this
Ruleinstance. - withId(String) - Method in interface org.ocpsoft.rewrite.spi.ConfigurationRuleBuilderInterceptor
-
Intercept, modify, or replace the given ID
- withMetadata(Object, Object) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- withMetadata(Object, Object) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderWithMetadata
-
Specify additional meta-data to be associated with this
Rule. - withMetadata(Object, Object) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- withPriority(int) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleBuilder
- withPriority(int) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderOtherwise
-
Set the priority of this
Ruleinstance. - withPriority(int) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderPerform
-
Set the priority of this
Ruleinstance. - withPriority(int) - Method in interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderWithId
-
Set the priority of this
Ruleinstance. - withPriority(int) - Method in class org.ocpsoft.rewrite.config.ConfigurationRuleParameterBuilder
- withPriority(int) - Method in class org.ocpsoft.rewrite.config.RuleBuilder
-
Set the priority of this
Ruleinstance. - withPriority(int) - Method in interface org.ocpsoft.rewrite.spi.ConfigurationRuleBuilderInterceptor
-
Intercept, modify, or replace the given priority
- wrap(Condition) - Static method in class org.ocpsoft.rewrite.config.Conditions
-
Wrap a given
Conditionas a newDefaultConditionBuilderthat evaluates the the originalConditionwhen#evaluate(Rewrite, EvaluationContext)is invoked. - wrap(Operation) - Static method in class org.ocpsoft.rewrite.config.Operations
-
Wrap a given
Operationas a newDefaultOperationBuilderthat performs the action of the originalOperationwhen#perform(Rewrite, EvaluationContext)is invoked. - wrap(Rule) - Static method in class org.ocpsoft.rewrite.config.RuleBuilder
-
Returns a new
RuleBuilderinstance wrapping the givenRule.
All Classes and Interfaces|All Packages|Serialized Form