Rio Project 4.2 API Documentation



org.rioproject.opstring
Class DefaultOpStringParserSelectionStrategy

java.lang.Object
  extended by org.rioproject.opstring.DefaultOpStringParserSelectionStrategy
All Implemented Interfaces:
OpStringParserSelectionStrategy

public class DefaultOpStringParserSelectionStrategy
extends Object
implements OpStringParserSelectionStrategy

OpStringParserSelectionStrategy selecting either the XML or Groovy parser.

Author:
Dennis Reedy, Jerome Bernard

Constructor Summary
DefaultOpStringParserSelectionStrategy()
           
 
Method Summary
 OpStringParser findParser(Object source)
          Selects an OpStringParser based on the source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOpStringParserSelectionStrategy

public DefaultOpStringParserSelectionStrategy()
Method Detail

findParser

public OpStringParser findParser(Object source)
Description copied from interface: OpStringParserSelectionStrategy
Selects an OpStringParser based on the source.

Specified by:
findParser in interface OpStringParserSelectionStrategy
Parameters:
source - either a local File or a URL to the OpString deployment descriptor.
Returns:
the OpStringParser which should be used for the source

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.