com.sage.orion.sdata.servlet
Class SDataExternalSchema

java.lang.Object
  extended by com.sage.orion.sdata.servlet.SDataExternalSchema
All Implemented Interfaces:
SDataSchema

public class SDataExternalSchema
extends java.lang.Object
implements SDataSchema

This class generate schema from the external SData response


Constructor Summary
SDataExternalSchema(org.w3c.dom.Document dataSchema)
           
 
Method Summary
 org.w3c.dom.Element getAsElement(org.w3c.dom.Document document)
          returns a schema element that expresses the schema.
 java.lang.String getVersion()
          a version that identifies the schema or null if there is none
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDataExternalSchema

public SDataExternalSchema(org.w3c.dom.Document dataSchema)
Method Detail

getAsElement

public org.w3c.dom.Element getAsElement(org.w3c.dom.Document document)
Description copied from interface: SDataSchema
returns a schema element that expresses the schema.

The schema returned is intended either to be made the content of a document or added to a link element etc.

Specified by:
getAsElement in interface SDataSchema
Parameters:
document - the element to which to add itself

getVersion

public java.lang.String getVersion()
Description copied from interface: SDataSchema
a version that identifies the schema or null if there is none

Specified by:
getVersion in interface SDataSchema


Copyright © 2011 Sage Software, Inc. All rights reserved.