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 java.lang.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
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(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.
- 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,
java.lang.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-2011 Apache Software Foundation. All Rights Reserved.