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

Class XMLStream

java.lang.Object
com.sas.services.storedprocess.GenericStream
com.sas.services.storedprocess.XMLStream
All Implemented Interfaces:
com.sas.storage.editableproperties.LocalizableProperties, Serializable

@SASScope("ALL") @BinaryCompatibilityOnly public class XMLStream extends GenericStream
Describes a XMLStream data source or target. For data sources the properties of this object used by the Stored Process service are the fileref name and whether rewinding is allowed; for data targets only the fileref name is used. Other properties are solely for client use.
Since:
9.2
See Also:
  • Method Details

    • isSchemaAvailable

      public boolean isSchemaAvailable()
      The return values determines whether a schema is available to be associated with this XML Stream. If true:
      Returns:
      the availability of a schema
    • getSchemaURI

      public String getSchemaURI() throws IllegalStateException
      Returns the schema URI. This method should only be called if isSchemaAvailable() returns true.
      Returns:
      the schema URI
      Throws:
      IllegalStateException - if called when isSchemaAvailable() returns false
    • getReferenceNameSpace

      public String getReferenceNameSpace()
      Returns the reference namespace. This method should only be called if isSchemaAvailable() returns true.
      Returns:
      the reference namespace
      Throws:
      IllegalStateException - if called when isSchemaAvailable() returns false
    • getReferenceName

      public String getReferenceName()
      Returns the reference name. This method should only be called if isSchemaAvailable() returns true.
      Returns:
      the reference name
      Throws:
      IllegalStateException - if called when isSchemaAvailable() returns false
    • isReferenceTypeForSchemaElement

      public boolean isReferenceTypeForSchemaElement()
      Determines whether the reference type is for a schema element or schema type. If true, it is for a schema element; if false for a schema type. This method should only be called if isSchemaAvailable() returns true.
      Returns:
      whether the reference type is for a schema element or schema type
      Throws:
      IllegalStateException - if called when isSchemaAvailable() returns false
    • isSchemaToBeEmbeddedInWSDL

      public boolean isSchemaToBeEmbeddedInWSDL()
      Determines whether the schema is to be embedded of referenced in generated WSDL. If true, the schema is embedded; if false, the schema is generated. This method should only be called if isSchemaAvailable() returns true.
      Returns:
      whether the reference type is for a schema element or schema type
      Throws:
      IllegalStateException - if called when isSchemaAvailable() returns false