public static interface OperationTransformerRegistry.PlaceholderResolver
OperationTransformerRegistry
entries where placeholder==true
. These placeholder entries transformers should create
a new TransformationTarget
containing the PlaceholderResolver
and resolve the children themselves.
Note that if a place holder resolver is used at a given resource address, this takes precedence over the normal transformer registry, so all children
must use the placeholders.Modifier and Type | Method and Description |
---|---|
OperationTransformerRegistry.OperationTransformerEntry |
resolveOperationTransformer(Iterator<PathElement> iterator,
String operationName)
Resolves a resource transformer from the relative address of the current
OperationTransformerRegistry entry |
void |
resolvePathTransformers(Iterator<PathElement> iterator,
List<PathAddressTransformer> list)
Adds path address transformers to the list for the relative address and below of the current
OperationTransformerRegistry entry |
TransformerEntry |
resolveTransformerEntry(Iterator<PathElement> iterator)
Resolves a
TransformerEntry from the relative address of the current OperationTransformerRegistry entry |
OperationTransformerRegistry.OperationTransformerEntry resolveOperationTransformer(Iterator<PathElement> iterator, String operationName)
OperationTransformerRegistry
entryiterator
- an iterator of the path elements of the resource we want to transform. On the initial call, this will be at the address of the placeholder entryoperationName
- the name of the operation transformer to resolvenull
if not foundvoid resolvePathTransformers(Iterator<PathElement> iterator, List<PathAddressTransformer> list)
OperationTransformerRegistry
entryiterator
- an iterator of the path elements of the resource we want to transform. On the initial call, this will be at the address of the placeholder entrylist
- the list of path address transformers to add the results toTransformerEntry resolveTransformerEntry(Iterator<PathElement> iterator)
TransformerEntry
from the relative address of the current OperationTransformerRegistry
entryiterator
- an iterator of the path elements of the resource we want to transform. On the initial call, this will be at the address of the placeholder entrynull
if not foundCopyright © 2023 JBoss by Red Hat. All rights reserved.