### *** This class provides Binary Compatibility only, not Source Compatibility ***

Package com.sas.services

# Class ServiceConfigDocument

java.lang.Object
com.sas.services.ServiceConfigDocument

@SASScope("ALL") @BinaryCompatibilityOnly public final class ServiceConfigDocument extends Object
Service configuration XML document.

Since:
  9.2

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ServiceConfigDocument(String configName, Document document)`
  Constructs a service configuration which is represented by a name and its associated XML document.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getConfigName()`
  Gets the configuration's name.
  `Document`
  `getDocument()`
  Gets the configuration's XML document.
  `void`
  `setConfigName(String configName)`
  Specifies the configuration's name.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ServiceConfigDocument

    public ServiceConfigDocument(String configName, Document document)
    Constructs a service configuration which is represented by a name and its associated XML document.
    Parameters:
      `configName` - Configuration's name.
      `document` - Service configuration XML.

- ## Method Details

  - ### getConfigName

    public String getConfigName()
    Gets the configuration's name.
    Returns:
      Configuration's name.

  - ### getDocument

    public Document getDocument()
    Gets the configuration's XML document.
    Returns:
      Configuration's XML document or `null` if there is no configuration.

  - ### setConfigName

    public void setConfigName(String configName)
    Specifies the configuration's name.
    Parameters:
      `configName` - Configuration's name.