org.apache.geronimo.gshell.layout.loader
Class XMLLayoutLoader

java.lang.Object
  extended by org.apache.geronimo.gshell.layout.loader.XMLLayoutLoader
All Implemented Interfaces:
LayoutLoader, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

@Component(role=LayoutLoader.class)
public class XMLLayoutLoader
extends Object
implements LayoutLoader, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

A simple XML to Layout loader, uses XStream to handle the dirty work.

Version:
$Rev: 580765 $ $Date: 2007-09-30 11:52:39 -0700 (Sun, 30 Sep 2007) $

Constructor Summary
XMLLayoutLoader()
           
 
Method Summary
 void initialize()
           
 Layout load()
          Returns the currently loaded layout; never null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLLayoutLoader

public XMLLayoutLoader()
Method Detail

initialize

public void initialize()
                throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
Specified by:
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException

load

public Layout load()
            throws IOException
Description copied from interface: LayoutLoader
Returns the currently loaded layout; never null.

Specified by:
load in interface LayoutLoader
Throws:
IOException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.