com.ibm.ims.xms
Class XMSFileSchemaResolver
java.lang.Object
|
+--com.ibm.ims.xms.XMSFileSchemaResolver
- All Implemented Interfaces:
- XMSSchemaResolver
- public class XMSFileSchemaResolver
- extends java.lang.Object
- implements XMSSchemaResolver
The XMSFileSchemaResolver offers a simple implementation of XMSSchemaResolver that looks
into the file system for the XMS Schema Definition.
Field Summary |
static java.lang.String |
FILE_PATH
Identifies the root path to resolve XML Schemas from |
Method Summary |
org.apache.xerces.xni.parser.XMLInputSource |
resolveSchema(java.lang.String namespace)
Resolves the NameSpace into an XMLInputSource that can be parsed
as an XMS Schema defining the requested NameSpace. |
org.apache.xerces.xni.parser.XMLInputSource |
resolveSchema(java.lang.String psbName,
java.lang.String pcbName)
Resolves the psbName and pcbName into an XMLInputSource that can be parsed
as an XMS Schema defining the NameSpace for the passed in PSB and PCB. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_PATH
public static final java.lang.String FILE_PATH
- Identifies the root path to resolve XML Schemas from
XMSFileSchemaResolver
public XMSFileSchemaResolver()
resolveSchema
public org.apache.xerces.xni.parser.XMLInputSource resolveSchema(java.lang.String psbName,
java.lang.String pcbName)
throws java.io.IOException,
org.apache.xerces.xni.XNIException
- Resolves the psbName and pcbName into an XMLInputSource that can be parsed
as an XMS Schema defining the NameSpace for the passed in PSB and PCB.
- Specified by:
resolveSchema
in interface XMSSchemaResolver
resolveSchema
public org.apache.xerces.xni.parser.XMLInputSource resolveSchema(java.lang.String namespace)
throws java.io.IOException,
org.apache.xerces.xni.XNIException
- Resolves the NameSpace into an XMLInputSource that can be parsed
as an XMS Schema defining the requested NameSpace.
- Specified by:
resolveSchema
in interface XMSSchemaResolver
(C) International Business Machines Corporation 2004. All rights reserved.