net.dpml.transit
Interface LayoutRegistry
- public interface LayoutRegistry
A interface supporting access to pluggable content handlers.
- Version:
- 1.0.2
- Author:
- Digital Product Meta Library
Method Summary |
Layout |
getLayout(String id)
Return a location resolver capable for supporting the supplied id. |
LAYOUT_HANDLER_PLUGIN_KEY
public static final String LAYOUT_HANDLER_PLUGIN_KEY
- Constrant layout plugin key.
- See Also:
- Constant Field Values
getLayout
public Layout getLayout(String id)
throws UnknownKeyException,
IOException
- Return a location resolver capable for supporting the supplied id. If
a handler is available the handler is returned otherwise the returned
value is null.
- Parameters:
id
- the layout identifier
- Returns:
- the location resolver or null if not available
- Throws:
UnknownKeyException
- if the key is not recognized
IOException
- if an IO error occurs