org.jasig.portal.layout.dlm
Class ILFBuilder

java.lang.Object
  extended by org.jasig.portal.layout.dlm.ILFBuilder

public class ILFBuilder
extends Object

Performs merging of layout fragments into a single document containing all incorporated layout fragment elements from the set of fragments passed in. This merge is trivial, appending all children of each fragment into the composite document and recording their identifiers in the document identifier cache. No changes are made to the source fragments passed in.

Since:
uPortal 2.5
Version:
$Revision: 19776 $ $Date: 2010-01-14 16:17:21 -0600 (Thu, 14 Jan 2010) $

Field Summary
static String RCS_ID
           
 
Constructor Summary
ILFBuilder()
           
 
Method Summary
static Document constructILF(Document PLF, Vector sequence, IPerson person)
           
static void mergeFragment(Document fragment, Document composite, IAuthorizationPrincipal ap)
          Passes the layout root of each of these documents to mergeChildren causing all children of newLayout to be merged into compositeLayout following merging protocal for distributed layout management.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

public static final String RCS_ID
See Also:
Constant Field Values
Constructor Detail

ILFBuilder

public ILFBuilder()
Method Detail

constructILF

public static Document constructILF(Document PLF,
                                    Vector sequence,
                                    IPerson person)
                             throws ParserConfigurationException,
                                    AuthorizationException
Throws:
ParserConfigurationException
AuthorizationException

mergeFragment

public static void mergeFragment(Document fragment,
                                 Document composite,
                                 IAuthorizationPrincipal ap)
                          throws AuthorizationException
Passes the layout root of each of these documents to mergeChildren causing all children of newLayout to be merged into compositeLayout following merging protocal for distributed layout management.

Throws:
AuthorizationException


Copyright © 2010 Jasig. All Rights Reserved.