| java.lang.Object org.xml.sax.helpers.DefaultHandler org.sakaibrary.xserver.XServer
Constructor Summary | |
public | XServer(String guid) Creates a new XServer object ready to communicate with the
MetaLib X-server. |
printXML | boolean printXML(Code) | | |
XServer | public XServer(String guid) throws XServerException(Code) | | Creates a new XServer object ready to communicate with the
MetaLib X-server. Reads searchProperties, sets up SAX Parser, and
sets up session management for this object.
|
characters | public void characters(char[] buf, int offset, int len) throws SAXException(Code) | | Receive notification of character data inside an element.
See Also: DefaultHandler |
getFindResultSets | public ArrayList getFindResultSets()(Code) | | Returns the list of find result sets found during this session. This
method should be called only after calling the findURL method.
array of FindResultSetBeans encapsulating a list of result setsprovided by the find X-service data |
getRecordsXML | public ByteArrayInputStream getRecordsXML(int numAssets) throws XServerException, org.osid.repository.RepositoryException(Code) | | Runs a blocking search of the X-Server and returns the response xml.
Parameters: numAssets - number of records presented from the X-Server. Must be 0or greater. ByteArrayInputStream encapsulating response xml from the X-Server throws: XServerException - in case of X-Server error |
getSearchStatusProperties | public org.osid.shared.Properties getSearchStatusProperties()(Code) | | Returns a metasearchStatus Type Properties object describing this search's
status.
metasearchStatus org.osid.shared.Properties |
updateSearchStatusProperties | public void updateSearchStatusProperties() throws XServerException, org.osid.repository.RepositoryException(Code) | | |
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|