edu.uga.cs.lsdis.sawsdl.impl.util
Class ModelRefUtil

java.lang.Object
  extended by edu.uga.cs.lsdis.sawsdl.impl.util.ModelRefUtil

public class ModelRefUtil
extends java.lang.Object

This is a collection of utility methods that operate on

Author:
: Ajith Ranabahu, : Zixin Wu, : Karthik Gomadam, : Doug Brewer

Constructor Summary
ModelRefUtil()
           
 
Method Summary
static ModelReference getSingleModelReferencesFromString(java.lang.String modelrefsAsString, Definition def)
           
static java.util.Set<ModelReference> parseModelReference(java.util.List modelRefs, Definition def, ModelReferenceExtensible op)
           
static java.util.Set<ModelReference> parseModelReference(java.lang.String[] modelRefs, Definition def, java.lang.Object op)
           
static java.util.Set<ModelReference> parseModelReference(java.lang.String modelReferenceString, Definition def, java.lang.Object op)
           
static java.lang.String[] splitString(java.lang.String modelRefString)
           
static void valueOf(ModelReferenceImpl modelRef, java.lang.String modelReferenceAsString, Definition def)
          Set the value of this modelReference by parsing the formatted string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelRefUtil

public ModelRefUtil()
Method Detail

valueOf

public static void valueOf(ModelReferenceImpl modelRef,
                           java.lang.String modelReferenceAsString,
                           Definition def)
                    throws java.net.URISyntaxException,
                           WSDLSException
Set the value of this modelReference by parsing the formatted string.

Parameters:
modelReferenceAsString - The formatted string
def - WSDLS definition
Throws:
java.net.URISyntaxException
WSDLSException

getSingleModelReferencesFromString

public static ModelReference getSingleModelReferencesFromString(java.lang.String modelrefsAsString,
                                                                Definition def)
                                                         throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

splitString

public static java.lang.String[] splitString(java.lang.String modelRefString)

parseModelReference

public static java.util.Set<ModelReference> parseModelReference(java.lang.String modelReferenceString,
                                                                Definition def,
                                                                java.lang.Object op)
                                                         throws java.net.URISyntaxException,
                                                                WSDLSException
Parameters:
modelReferenceString -
def -
op -
Returns:
a list of model references
Throws:
java.net.URISyntaxException
WSDLSException

parseModelReference

public static java.util.Set<ModelReference> parseModelReference(java.util.List modelRefs,
                                                                Definition def,
                                                                ModelReferenceExtensible op)
                                                         throws java.net.URISyntaxException,
                                                                WSDLSException
Parameters:
def -
op -
Returns:
a list of model references
Throws:
java.net.URISyntaxException
WSDLSException

parseModelReference

public static java.util.Set<ModelReference> parseModelReference(java.lang.String[] modelRefs,
                                                                Definition def,
                                                                java.lang.Object op)
                                                         throws java.net.URISyntaxException,
                                                                WSDLSException
Parameters:
def -
op -
Returns:
a list of model references
Throws:
java.net.URISyntaxException
WSDLSException


Copyright © 2007. All Rights Reserved.