| |
|
| java.lang.Object org.purl.sword.base.XmlElement org.purl.sword.base.Service
Constructor Summary | |
public | Service() Create a new instance. | public | Service(ServiceLevel complianceLevel) Create a new instance. | public | Service(ServiceLevel complianceLevel, boolean noOp, boolean verbose) Create a new instance with the specified compliance level, noOp and
verbose values. |
Service | public Service()(Code) | | Create a new instance.
|
Service | public Service(ServiceLevel complianceLevel)(Code) | | Create a new instance.
Parameters: complianceLevel - The service compliance level. |
Service | public Service(ServiceLevel complianceLevel, boolean noOp, boolean verbose)(Code) | | Create a new instance with the specified compliance level, noOp and
verbose values.
Parameters: complianceLevel - The service compliance level. Parameters: noOp - The noOp. Parameters: verbose - The verbose element. |
addWorkspace | public void addWorkspace(Workspace workspace)(Code) | | Add a workspace.
Parameters: workspace - The workspace. |
clearWorkspaces | public void clearWorkspaces()(Code) | | Clear the list of workspaces.
|
getComplianceLevel | public ServiceLevel getComplianceLevel()(Code) | | Get the service compliance level.
The compliance level. |
getWorkspacesList | public List<Workspace> getWorkspacesList()(Code) | | Get a List of workspaces
The workspaces in a List |
isNoOp | public boolean isNoOp()(Code) | | Get the NoOp value.
The value. |
isNoOpSet | public boolean isNoOpSet()(Code) | | Determine if the NoOp value has been set. This should be called to
check if an item has been programatically set and does not have a
default value.
True if it has been set programmatically. Otherwise, false. |
isVerbose | public boolean isVerbose()(Code) | | Get the Verbose setting.
The value. |
isVerboseSet | public boolean isVerboseSet()(Code) | | Determine if the Verbose value has been set. This should be called to
check if an item has been programatically set and does not have a
default value.
True if it has been set programmatically. Otherwise, false. |
marshall | public Element marshall()(Code) | | Marshall the data in this object to an Element object.
A XOM Element that holds the data for this Content element. |
setComplianceLevel | public void setComplianceLevel(ServiceLevel complianceLevel)(Code) | | Set the service compliance level.
Parameters: The - compliance level. |
setNoOp | public void setNoOp(boolean noOp)(Code) | | Set the NoOp value.
Parameters: noOp - The value. |
setVerbose | public void setVerbose(boolean verbose)(Code) | | Set the Verbose value.
Parameters: verbose - The value. |
unmarshall | public void unmarshall(Element service) throws UnmarshallException(Code) | | Unmarshall the content element into the data in this object.
throws: UnmarshallException - If the element does not contain acontent element or if there are problemsaccessing the data. |
|
|
|