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 736602 2009-01-22 10:45:40Z vsiveton $
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

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

Method Detail

assembleModelInheritance

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

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-2010 Apache Software Foundation. All Rights Reserved.