com.gridsystems.nextgrid.api.builder
Class TypeManager

java.lang.Object
  extended by com.gridsystems.nextgrid.api.builder.TypeManager

public final class TypeManager
extends java.lang.Object

ReferenceFactory and Type Mapping manager.

Author:
Rodrigo Ruiz

Method Summary
static nextgrid.api.pom.Reference<?> createReference(java.lang.Class<?> type)
          Creates a Reference instance for a given Java class.
static java.lang.Class<?> getType(java.net.URI uri)
          Gets the type mapped to the specified URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getType

public static java.lang.Class<?> getType(java.net.URI uri)
Gets the type mapped to the specified URI.

Parameters:
uri - XSD type URI
Returns:
A Java class

createReference

public static nextgrid.api.pom.Reference<?> createReference(java.lang.Class<?> type)
Creates a Reference instance for a given Java class.

Parameters:
type - A Java class
Returns:
An appropriate Reference instance


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