# com.bea.p13n.rules.manager
RuleSetArchive Interface

public interface RuleSetArchive
extends `Serializable`

Interface that defines a rule set packaged for deployment. Use the `DeploymentFactory` to create instances that implement this interface.

Related Topics

``DeploymentFactory``
``RulesManager``

All Superinterfaces
  `Serializable`

## Method Summary

`public `String`` | `getRuleSet`() Returns the packaged rule set expressed as an XML string.
`public `String`` | `getUri`() Returns the URI for the packaged rule set.
`public void` | `setRuleSet`(`String` xml) Set the XML string for the packaged rule set.
`public void` | `setUri`(`String` uri) Set the URI for the packaged rule set.

## Method Detail

### getRuleSet() Method

    public String getRuleSet()

Returns the packaged rule set expressed as an XML string. The XML string must conform to one of the rule set XML Schemas.

#### Returns

the rule set XML string.

### getUri() Method

    public String getUri()

Returns the URI for the packaged rule set. The URI uniquely identifies the rule set.

#### Returns

the rule set URI.

### setRuleSet(String) Method

    public void setRuleSet(String xml)

Set the XML string for the packaged rule set. The XML string must conform to one of the rule set XML Schemas.

#### Parameters

xml
  the rule set XML string.

### setUri(String) Method

    public void setUri(String uri)

Set the URI for the packaged rule set. The URI uniquely identifies the rule set.

#### Parameters

uri
  the rule set URI.