org.apache.maven.doxia.site.decoration.inheritance
public class DefaultDecorationModelInheritanceAssembler extends java.lang.Object implements DecorationModelInheritanceAssembler
Modifier and Type | Class and Description |
---|---|
class |
DefaultDecorationModelInheritanceAssembler.URLContainer
Contains an old and a new path.
|
ROLE
Constructor and Description |
---|
DefaultDecorationModelInheritanceAssembler() |
Modifier and Type | Method and Description |
---|---|
void |
assembleModelInheritance(java.lang.String name,
DecorationModel child,
DecorationModel parent,
java.lang.String childBaseUrl,
java.lang.String parentBaseUrl)
Manage inheritance of the decoration model between a parent and child.
|
void |
resolvePaths(DecorationModel decoration,
java.lang.String baseUrl)
Resolve relative paths for a DecorationModel given a base URL.
|
public DefaultDecorationModelInheritanceAssembler()
public void assembleModelInheritance(java.lang.String name, DecorationModel child, DecorationModel parent, java.lang.String childBaseUrl, java.lang.String parentBaseUrl)
assembleModelInheritance
in interface DecorationModelInheritanceAssembler
name
- a name, used for breadcrumb.child
- the child DecorationModel to be merged with parent.parent
- the parent DecorationModel not null.childBaseUrl
- the child base URL.parentBaseUrl
- the parent base URL.public void resolvePaths(DecorationModel decoration, java.lang.String baseUrl)
resolvePaths
in interface DecorationModelInheritanceAssembler
decoration
- the DecorationModel.baseUrl
- the base URL.Copyright © 2005-2014. All Rights Reserved.