de.matthias_burbach.mosaique.core.parser
Class StrutsConfigParser

java.lang.Object
  extended byde.matthias_burbach.mosaique.core.parser.StrutsConfigParser

public class StrutsConfigParser
extends java.lang.Object

Author:
Matthias Burbach

Constructor Summary
StrutsConfigParser()
           
 
Method Summary
 StrutsConfig parse(java.lang.String path, Context context)
          Parses a Struts configuration from a file into the internal representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrutsConfigParser

public StrutsConfigParser()
Method Detail

parse

public StrutsConfig parse(java.lang.String path,
                          Context context)
                   throws java.lang.Exception
Parses a Struts configuration from a file into the internal representation.

Parameters:
path - The full path of the Struts config to parse.
context - The context to inject into parsed objects.
Returns:
The internal representation of the successfully parsed config.
Throws:
java.lang.Exception - if anything goes wrong


Copyright © 2005-2006 . All Rights Reserved.