com.sage.orion.sdata.servlet
Class FileSchema

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

public class FileSchema
extends java.lang.Object
implements SDataSchema

This class generates the schema from a file.

Author:
cliwa01

Constructor Summary
FileSchema(java.lang.String schemaFileName)
           
 
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

FileSchema

public FileSchema(java.lang.String schemaFileName)
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.