|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.storedprocess.metadata.XMLStream
public class XMLStream
Design time XMLStream data source or target.
Constructor Summary | |
---|---|
XMLStream()
Constructs and empty XML Stream Data Source or Data Target object with no associated schema. |
Method Summary | |
---|---|
java.lang.String |
getReferenceName()
Returns the reference name. |
java.lang.String |
getReferenceNameSpace()
Returns the reference namespace. |
java.lang.String |
getSchemaURI()
Returns the schema URI. |
boolean |
isReferenceTypeForSchemaElement()
Determines whether the reference type is for a schema element or schema type. |
boolean |
isSchemaAvailable()
The return values determines whether a schema is associated with this XML Stream. |
boolean |
isSchemaToBeEmbeddedInWSDL()
Determines whether the schema is to be embedded of referenced in generated WSDL. |
void |
setIsReferenceTypeForSchemaElement(boolean referenceTypeIsForSchemaElement)
Sets whether the reference type is for a schema element or schema type. |
void |
setIsSchemaAvailable(boolean schemaIsAvailable)
Sets whether a schema is be associated with this XML Stream. |
void |
setIsSchemaToBeEmbeddedInWSDL(boolean schemaIsToBeEmbeddedInWSDL)
Sets whether the schema is to be embedded of referenced in generated WSDL. |
void |
setReferenceName(java.lang.String referenceName)
Sets the reference name. |
void |
setReferenceNameSpace(java.lang.String referenceNameSpace)
Sets the reference namespace. |
void |
setSchemaURI(java.lang.String schemaURI)
Sets the schema URI. |
void |
validate()
Validates the XMLStream. |
Methods inherited from class com.sas.services.storedprocess.metadata.GenericStream |
---|
allowsRewinds, getExpectedContentType, getFileref, setAllowRewinds, setExpectedContentType, setFileref |
Constructor Detail |
---|
public XMLStream()
DataSourceOrTarget.setSource(boolean)
. Rewinding is only supported for data sources and can be
specified via the GenericStream.setAllowRewinds(boolean)
method.
Method Detail |
---|
public boolean isSchemaAvailable()
getSchemaURI()
,
getReferenceNameSpace()
, getReferenceName()
and
isReferenceTypeForSchemaElement()
. And,
isSchemaToBeEmbeddedInWSDL()
returns a valid value.
public void setIsSchemaAvailable(boolean schemaIsAvailable)
setSchemaURI(String)
, setReferenceNameSpace(String)
,
setReferenceName(String)
and setIsReferenceTypeForSchemaElement(boolean)
.
And, setIsSchemaToBeEmbeddedInWSDL(boolean)
should be called.
public java.lang.String getSchemaURI() throws java.lang.IllegalStateException
isSchemaAvailable()
returns true.
java.lang.IllegalStateException
- if called when isSchemaAvailable() returns falsepublic void setSchemaURI(java.lang.String schemaURI)
public java.lang.String getReferenceNameSpace()
isSchemaAvailable()
returns true.
java.lang.IllegalStateException
- if called when isSchemaAvailable() returns falsepublic void setReferenceNameSpace(java.lang.String referenceNameSpace)
public java.lang.String getReferenceName()
isSchemaAvailable()
returns true.
java.lang.IllegalStateException
- if called when isSchemaAvailable() returns falsepublic void setReferenceName(java.lang.String referenceName)
public boolean isReferenceTypeForSchemaElement()
isSchemaAvailable()
returns true.
java.lang.IllegalStateException
- if called when isSchemaAvailable() returns false or the value has not been setpublic void setIsReferenceTypeForSchemaElement(boolean referenceTypeIsForSchemaElement)
referenceTypeIsForSchemaElement
- if true, it is for a schema element; if false for a schema type.public boolean isSchemaToBeEmbeddedInWSDL()
isSchemaAvailable()
returns true.
java.lang.IllegalStateException
- if called when isSchemaAvailable() returns false or the value has not been setpublic void setIsSchemaToBeEmbeddedInWSDL(boolean schemaIsToBeEmbeddedInWSDL)
schemaIsToBeEmbeddedInWSDL
- if true, the schema is embedded; if false, the schema is generated.public void validate() throws ServiceException
GenericStream.validate()
, this
method ensures that the various components which describe and involve the schema
have been set if isSchemaAvailable()
returns true.
validate
in class GenericStream
ServiceException
- if validation fails
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |