nextgrid.api.pom
Class GroundingFactoryFinder

java.lang.Object
  extended by nextgrid.api.pom.GroundingFactoryFinder

public final class GroundingFactoryFinder
extends java.lang.Object

GroundingFactory Finder.

Author:
Rodrigo Ruiz

Method Summary
static GroundingFactory findFactory(java.lang.String type)
          Gets a factory for the specified model type.
static GroundingFactory findFactory(java.net.URI type)
          Gets a factory for the specified model type.
 java.net.URI[] getAvailableTypes()
          Gets a list of all available Grounding types.
static void register(GroundingFactory factory)
          Manually registers a factory, so it is available through the finder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

register

public static void register(GroundingFactory factory)
Manually registers a factory, so it is available through the finder.

Parameters:
factory - The factory instance to register

findFactory

public static GroundingFactory findFactory(java.net.URI type)
Gets a factory for the specified model type.

Parameters:
type - The factory type
Returns:
A factory for the specified grounding type, or null if none found

findFactory

public static GroundingFactory findFactory(java.lang.String type)
Gets a factory for the specified model type.

Parameters:
type - The factory type
Returns:
A factory for the specified grounding type, or null if none found

getAvailableTypes

public java.net.URI[] getAvailableTypes()
Gets a list of all available Grounding types.

Returns:
An array of Grounding type URIs


Copyright © 2006-2008 Grid Systems, S.A.. All Rights Reserved.