org.apache.maven.doxia.site.decoration.inheritance
Interface DecorationModelInheritanceAssembler

All Known Implementing Classes:
DefaultDecorationModelInheritanceAssembler

public interface DecorationModelInheritanceAssembler

Manage inheritance of the decoration model.

Version:
$Id: DecorationModelInheritanceAssembler.java 737601 2009-01-25 23:14:52Z dennisl $
Author:
Brett Porter

Field Summary
static java.lang.String ROLE
          Plexus lookup role.
 
Method Summary
 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.
 

Field Detail

ROLE

public static final java.lang.String ROLE
Plexus lookup role.

Method Detail

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.

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.

Parameters:
decoration - the DecorationModel.
baseUrl - the base URL.


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.