uk.org.ogsadai.dataresource
Class MetaDataExtractor
java.lang.Object
|
+--uk.org.ogsadai.dataresource.MetaDataExtractor
- All Implemented Interfaces:
- PropertyCallback
- Direct Known Subclasses:
- SimpleJDBCMetaDataExtractor, SimpleXMLDBMetaDataExtractor
- public abstract class MetaDataExtractor
- extends java.lang.Object
- implements PropertyCallback
- Author:
- The OGSA-DAI Team
Date: Aug 4, 2003
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mConnectionManager
protected ConnectionManager mConnectionManager
mSecurityContext
protected SecurityContext mSecurityContext
MetaDataExtractor
public MetaDataExtractor()
setConnectionManager
public void setConnectionManager(ConnectionManager cm)
throws CoreSystemException
CoreSystemException
setSecurityContext
public void setSecurityContext(SecurityContext sc)
- Specified by:
setSecurityContext in interface PropertyCallback
setValue
public void setValue(javax.xml.namespace.QName name,
java.lang.Object value)
- Specified by:
setValue in interface PropertyCallback
getValue
public java.lang.Object getValue(javax.xml.namespace.QName name)
- Specified by:
getValue in interface PropertyCallback
getMetaData
protected abstract java.lang.Object getMetaData(SecurityContext securityContext,
javax.xml.namespace.QName name)
createFaultDocument
protected org.w3c.dom.Document createFaultDocument(int faultNum,
java.lang.String faultDescription,
ServerLogID serverLogId)
throws java.lang.RuntimeException
- Creates a fault document.
- Parameters:
faultNum - Fault number.faultDescription - Fault description.serverLogId - ID under which the fault was logged in the
server log.
- Returns:
- The XML document describing the fault.
- Throws:
java.lang.RuntimeException - If a new XML document could not be created.