|
Data Request Broker 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.gael.drb.impl.sds.SdfFactory
public final class SdfFactory
Factory for Structured Data Files.
| Field Summary | |
|---|---|
static String |
SDF_2002_02_NAMESPACE
The SDF 2002/02 namespace URI. |
static String |
SDF_2004_12_NAMESPACE
The SDF 2004/12 namespace URI. |
static String |
SDF_2005_04_NAMESPACE
The SDF 2005/04 namespace URI. |
| Constructor Summary | |
|---|---|
SdfFactory()
Builds a default factory |
|
| Method Summary | |
|---|---|
static String |
getDefaultVersion()
Allow to get the default version of the namespace use by SdfFactory. |
String |
getIdentifier()
The scheme identifier of the implementation. |
String |
getName()
The name of the implementation. |
static void |
main(String[] args)
Makes the class runnable for testing. |
DrbNode |
open(DrbNode base_node)
Opens the node from an existing node. |
DrbNode |
open(DrbNode base_node,
DrbNode schema_node,
String schemaLocation)
Opens a node using the base node and associated the schema node. |
DrbNode |
open(DrbNode base_node,
XmlSchema xml_schema,
String schema_path)
Opens a node using the base node and associated the XML-Schema. |
DrbNode |
open(URL uri)
Opens the node matching a given URI. |
DrbNode |
open(URL uri,
DrbNode base_node)
Opens the node matching a given URI from an existing node. |
void |
setSchema(String path)
Sets the default SDF-Schema location In case of success a structure change event is fired on the current node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SDF_2005_04_NAMESPACE
public static final String SDF_2004_12_NAMESPACE
public static final String SDF_2002_02_NAMESPACE
| Constructor Detail |
|---|
public SdfFactory()
| Method Detail |
|---|
public static String getDefaultVersion()
public final String getIdentifier()
getIdentifier in interface DrbFactoryImplpublic final String getName()
getName in interface DrbFactoryImpl
public final void setSchema(String path)
throws UnsupportedOperationException
path - the schema path to be set.
UnsupportedOperationException - This exception is raised when the
schema cannot be applied to this node.public final DrbNode open(URL uri)
open in interface DrbFactoryImpluri - Unused.
public final DrbNode open(DrbNode base_node)
open in interface DrbFactoryImplbase_node - Unused.
public final DrbNode open(URL uri,
DrbNode base_node)
open in interface DrbFactoryImpluri - Unused.base_node - Unused.
public DrbNode open(DrbNode base_node,
DrbNode schema_node,
String schemaLocation)
base_node - The input node to be used as RandomAccessFile.schema_node - The input node to be used as data description.schemaLocation - the location of the provided schema.
public DrbNode open(DrbNode base_node,
XmlSchema xml_schema,
String schema_path)
base_node - The input node to be used as RandomAccessFile.xml_schema - The XML-Schema containing the SDF parameters.schema_path - The path of the XML-Schema file.
public static void main(String[] args)
args - main arguments
|
Data Request Broker - DRB API® 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||