|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The profile factory is used to create or load instances of the profiles. It handles the version upgrade (if required) and identification of the type of profile. This interface is not intended to be implemented by clients.
Method Summary | |
IAssetFactory |
getAssetFactory(String theProfileId)
Get the asset factory for the specified profile id. |
IRASAssetReader |
getAssetReader(String theResourcePath)
Get the asset reader for the specified resource path |
IRASAssetReader |
getAssetReader(String theResourcePath,
String theManifestReference)
Get the asset reader for the specified resource path |
IRASAssetWriter |
getAssetWriter(String theStorageFormat)
Get the asset writer for the specified storage format. |
String |
getProfileName(String theProfileId)
Get the name of profile for the specified profile id. |
IProfileFormat[] |
getReaderFormats()
Returns an array of the supported formats for reading an asset. |
IProfileFormat[] |
getWriterFormats()
Returns an array of the supported formats for writing an asset. |
Method Detail |
public IRASAssetReader getAssetReader(String theResourcePath) throws IOException
theResourcePath
- the path to the resource. For instance a file path for file
based assets.
null
if none was found
IOException
- if there is an error reading the resource pathpublic IRASAssetReader getAssetReader(String theResourcePath, String theManifestReference) throws IOException
theResourcePath
- the path to the resource. For instance a file path for file
based assets.theManifestReference
- optional; the manifest to use in the asset. This may be
null
in which case the reader should use the
default manifest.
null
if none was found
IOException
- if there is an error reading the resource pathpublic IRASAssetWriter getAssetWriter(String theStorageFormat) throws IOException
theStorageFormat
- indicates the format in which the asset will be stored.
null
if none was
found
IOException
- if an error occurred getting the asset writerpublic IAssetFactory getAssetFactory(String theProfileId)
theProfileId
- the id of the profile
null
if the profile id is not
supportedpublic String getProfileName(String theProfileId)
null
.
theProfileId
- the id of the profile
null
if the profile id is
not supportedpublic IProfileFormat[] getReaderFormats()
public IProfileFormat[] getWriterFormats()
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.