This uses a service loader mechanism to allow additional token types to be loaded. Token definitions are loaded from the provided class loader.
ExchangeAttributes#parser(ClassLoader)
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ExchangeAttribute | |
| public ExchangeAttribute | |
| private ExchangeAttribute |
| builders | back to summary |
|---|---|
| private final List<ExchangeAttributeBuilder> builders | |
| wrappers | back to summary |
|---|---|
| private final List<ExchangeAttributeWrapper> wrappers | |
| ExchangeAttributeParser | back to summary |
|---|---|
| pack-priv ExchangeAttributeParser(final ClassLoader classLoader, List<ExchangeAttributeWrapper> wrappers) | |
| parse | back to summary |
|---|---|
| public ExchangeAttribute parse(final String valueString) Parses the provided value string, and turns it into a list of exchange attributes. Tokens are created according to the following rules: %a - % followed by single character. %% is an escape for a literal % %{.*}a? - % plus curly braces with any amount of content inside, followed by an optional character ${.*} - $ followed by a curly braces to reference an item from the predicate context | |
| parseSingleToken | back to summary |
|---|---|
| public ExchangeAttribute parseSingleToken(final String token) | |
| wrap | back to summary |
|---|---|
| private ExchangeAttribute wrap(ExchangeAttribute attribute) | |