org.apache.maven.doxia.site.decoration.inheritance
Class DefaultDecorationModelInheritanceAssembler
java.lang.Object
org.apache.maven.doxia.site.decoration.inheritance.DefaultDecorationModelInheritanceAssembler
- All Implemented Interfaces:
- DecorationModelInheritanceAssembler
public class DefaultDecorationModelInheritanceAssembler
- extends Object
- implements DecorationModelInheritanceAssembler
Manage inheritance of the decoration model.
- Version:
- $Id: DefaultDecorationModelInheritanceAssembler.java 884677 2009-11-26 19:39:01Z hboutemy $
- Author:
- Brett Porter, Henning P. Schmiedehausen
- Plexus component:
- role:
- "org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritanceAssembler"
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDecorationModelInheritanceAssembler
public DefaultDecorationModelInheritanceAssembler()
assembleModelInheritance
public void assembleModelInheritance(String name,
DecorationModel child,
DecorationModel parent,
String childBaseUrl,
String parentBaseUrl)
- Manage inheritance of the decoration model between a parent and child.
- Specified by:
assembleModelInheritance in interface DecorationModelInheritanceAssembler
- Parameters:
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.
resolvePaths
public void resolvePaths(DecorationModel decoration,
String baseUrl)
- Resolve relative paths for a DecorationModel given a base URL.
- Specified by:
resolvePaths in interface DecorationModelInheritanceAssembler
- Parameters:
decoration - the DecorationModel.baseUrl - the base URL.
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.