|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jafer.sru.SRUtoSRWConfig
public class SRUtoSRWConfig
This class manages the parsing and searching of the SRUtoSRWConfiguration file
Field Summary | |
---|---|
(package private) org.w3c.dom.Node |
configRoot
Stores a reference to root node of the config file |
private org.w3c.dom.Node |
contextNode
Stores a reference to the node last queried by XPath |
private org.apache.xpath.CachedXPathAPI |
xPathAPI
Stores a reference to the xpathAPI last used |
Constructor Summary | |
---|---|
SRUtoSRWConfig()
constructor |
Method Summary | |
---|---|
java.lang.String |
getNodeValue(org.w3c.dom.Node node)
Utility method to get the value of the node |
java.lang.String |
getOperationBridgeClass(java.lang.String operation,
java.lang.String version)
Gets the name of the bridge class for the specified operation and version |
org.w3c.dom.Node |
selectNode(org.w3c.dom.Node sourceNode,
java.lang.String XPath)
This method selects the node specified by the xpath from the source node |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private org.apache.xpath.CachedXPathAPI xPathAPI
private org.w3c.dom.Node contextNode
org.w3c.dom.Node configRoot
Constructor Detail |
---|
public SRUtoSRWConfig() throws SRUException
SRUException
Method Detail |
---|
public java.lang.String getOperationBridgeClass(java.lang.String operation, java.lang.String version) throws SRUException
operation
- The operation nameversion
- The version of the operation
SRUException
public org.w3c.dom.Node selectNode(org.w3c.dom.Node sourceNode, java.lang.String XPath) throws SRUException
sourceNode
- The node to select formXPath
- The XPath consition used to select the node
SRUException
public java.lang.String getNodeValue(org.w3c.dom.Node node) throws SRUException
node
- The node to extracy the value from
SRUException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |