TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.analysis.util.proxy.converter
Class ComponentProxyStringConverter

java.lang.Object
  extended byorg.eclipse.tptp.platform.analysis.util.converter.StringConverter
      extended byorg.eclipse.tptp.platform.analysis.util.proxy.converter.ComponentProxyStringConverter
All Implemented Interfaces:
IObjectConverter, IStringConverter
Direct Known Subclasses:
ClassProxyStringConverter, InterfaceProxyStringConverter

public class ComponentProxyStringConverter
extends StringConverter

ComponentProxyStringConverter


Field Summary
static StringConverter INSTANCE
           
 
Fields inherited from class org.eclipse.tptp.platform.analysis.util.converter.StringConverter
DEFAULT
 
Constructor Summary
ComponentProxyStringConverter()
           
 
Method Summary
protected  void configure(IComponentTypeProxy proxy, IPackageProxy packageProxy, java.lang.String sType)
           
 java.lang.Object fromString(java.lang.String s)
          Convert from a string using the naming convention.
protected  IComponentTypeProxy newTypeProxy(IPackageProxy packageProxy, java.lang.String sType)
           
 void setEnsureITypeExists(boolean bITypeExists)
          Set the TypeExist flag.
 java.lang.String toString(java.lang.Object o)
          Convert to a string.
 
Methods inherited from class org.eclipse.tptp.platform.analysis.util.converter.StringConverter
convert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final StringConverter INSTANCE
Constructor Detail

ComponentProxyStringConverter

public ComponentProxyStringConverter()
Method Detail

setEnsureITypeExists

public void setEnsureITypeExists(boolean bITypeExists)
Set the TypeExist flag.

Parameters:
bITypeExists -

toString

public java.lang.String toString(java.lang.Object o)
                          throws java.lang.IllegalArgumentException
Convert to a string.

Parameters:
o -
Returns:
Throws:
java.lang.IllegalArgumentException

fromString

public java.lang.Object fromString(java.lang.String s)
                            throws java.lang.UnsupportedOperationException,
                                   java.lang.IllegalArgumentException
Convert from a string using the naming convention.

Parameters:
s -
Returns:
Throws:
java.lang.IllegalArgumentException
java.lang.UnsupportedOperationException

newTypeProxy

protected IComponentTypeProxy newTypeProxy(IPackageProxy packageProxy,
                                           java.lang.String sType)

configure

protected void configure(IComponentTypeProxy proxy,
                         IPackageProxy packageProxy,
                         java.lang.String sType)

TPTP 4.2.0 Platform Project
Public API Specification