|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface representing software components.
| Field Summary | |
static java.lang.String |
INDEX_DOCTYPE
The document type identifier in the form of an URN as needed by the indexing service |
static java.lang.String |
NAMESPACE
The XML namespace used by software components. |
static java.lang.String |
SCHEMA_LOCATION
The name of the XML schema defining the serialized form of this API |
| Method Summary | |
java.util.List |
emptyDependencies()
Removes the entries from the list of dependencies, or creates a new empty dependency list. |
java.util.List |
emptyGrants()
Removes the entries from the list of grants, or creates a new empty grant list. |
java.util.List |
getDependencies()
Returns the dependencies this software component declares. |
java.util.List |
getGrants()
Returns the grants this development components declares. |
java.io.Reader |
getSchema()
Returns a stream containing the XML schema used by software component description files. |
java.lang.String |
getSchemaVersion()
Returns the currently active schema version. |
void |
initialize(SCInputProvider provider)
Initializes this component. |
boolean |
isSchemaAllowed()
Checks whether it would be possible to serialize the component with the currently active schema version. |
boolean |
isSchemaAllowed(java.lang.String schemaVersion)
Checks whether it would be possible to serialize the component with the given schema version |
void |
serialize(SCOutputProvider provider)
Serializes this component. |
| Methods inherited from interface com.sap.tc.complib.Component |
getCaption, getDescription, getName, getVendor, serialize, setCaption, setDescription, setName, setVendor, validate |
| Field Detail |
public static final java.lang.String NAMESPACE
public static final java.lang.String INDEX_DOCTYPE
public static final java.lang.String SCHEMA_LOCATION
| Method Detail |
public java.util.List getDependencies()
public java.util.List emptyDependencies()
public java.util.List getGrants()
public java.util.List emptyGrants()
public java.io.Reader getSchema()
public java.lang.String getSchemaVersion()
ComponentFactory.getSchemaVersions().public boolean isSchemaAllowed()
ComponentFactory.SCHEMA_VERSION.public boolean isSchemaAllowed(java.lang.String schemaVersion)
schemaVersion - the version to check
public void serialize(SCOutputProvider provider)
throws java.io.IOException,
ProviderException
provider - the provider that provide OutputStreams for serialization.java.io.IOException - if an i/o error occured.ProviderException - if the provider was not able to suppy a valid
output stream for serialization.
public void initialize(SCInputProvider provider)
throws java.io.IOException,
XMLException,
ProviderException
provider - the provider that provides InputStreams for initialization.java.io.IOException - if an i/o error occured.XMLException - if an exception occured in the parserProviderException - if the provider was not able to suppy a valid
output stream for serialization.
|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||