@Component(role=ModelUrlNormalizer.class) public class DefaultModelUrlNormalizer extends Object implements ModelUrlNormalizer
Constructor and Description |
---|
DefaultModelUrlNormalizer() |
Modifier and Type | Method and Description |
---|---|
void |
normalize(Model model,
ModelBuildingRequest request)
Normalizes the well-known URLs of the specified model.
|
DefaultModelUrlNormalizer |
setUrlNormalizer(UrlNormalizer urlNormalizer) |
public DefaultModelUrlNormalizer()
public DefaultModelUrlNormalizer setUrlNormalizer(UrlNormalizer urlNormalizer)
public void normalize(Model model, ModelBuildingRequest request)
ModelUrlNormalizer
normalize
in interface ModelUrlNormalizer
model
- The model whose URLs should be normalized, may be null
.request
- The model building request that holds further settings, must not be null
.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.