|
Version: 1.1.1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MobyContentInstance | |
---|---|
ca.ucalgary.seahawk.gui | Seahawk is a graphical MOBY client that can be used standalone, or easily embedded in another Java application. |
ca.ucalgary.seahawk.util | |
org.biomoby.client | The components used for developing Moby clients. |
org.biomoby.service | It contains general components that can be used by those writing code for Moby services. |
org.biomoby.shared.data | The package org.biomoby.shared.data allows you to easily build MOBY data instances for sending to services, or querying the registry. |
Uses of MobyContentInstance in ca.ucalgary.seahawk.gui |
---|
Methods in ca.ucalgary.seahawk.gui that return MobyContentInstance | |
---|---|
MobyContentInstance |
MobyContentGUI.callService(MobyService service,
MobyContentInstance inEnvelope)
|
MobyContentInstance |
MobyPayloadCreator.createPayload(String targetJobArgName)
|
MobyContentInstance |
MobyDataObjectWidget.exportMobyContent()
Used to send data out to the clipboard. |
MobyContentInstance |
MobyContentProducer.exportMobyContent()
Callback routine used by MobyObjectTransferHandler once it has resolved the data to paste. |
MobyContentInstance |
MobyContentClipboard.getContents()
Get the Java representation of the data on the clipboard (as a MOBY data envelope), including any possible non-standard contents. |
Methods in ca.ucalgary.seahawk.gui with parameters of type MobyContentInstance | |
---|---|
void |
MobyContentClipboard.addCollectionData(MobyContentInstance mci)
Objects in the content instance will be flattened into a list and appended to the current contents of the collection. |
MobyContentInstance |
MobyContentGUI.callService(MobyService service,
MobyContentInstance inEnvelope)
|
Map<String,MobyDataInstance> |
MobyObjectTransferHandler.getDataFromMobyContents(Map<String,MobyPrimaryData> acceptableData,
MobyContentInstance mci)
|
void |
MobyContentGUI.loadPaneFromObject(MobyContentInstance mci,
boolean useDefaultHandler)
Load a Seahawk browser tab with the data held in the given MobyContentInstance. |
Uses of MobyContentInstance in ca.ucalgary.seahawk.util |
---|
Methods in ca.ucalgary.seahawk.util that return MobyContentInstance | |
---|---|
static MobyContentInstance |
HTMLUtils.checkForMobyXML(String text)
Given an HTML fragment (e.g. cut'n'pasted from a browser), see if we unescape the HTML we get a MOBY XML block (e.g. from the biomoby.org web site examples). |
static MobyContentInstance |
MobyUtils.convertURLtoMobyBinaryData(MobyClient client,
URL url)
The purpose of this method is to create a MOBY document to encapsulate a binary data object stored at the given URL. |
MobyContentInstance |
MobyPayloadRequestListener.createPayload(String paramNameforJobs)
Assumes the listener knows what payload to create based on some internal context stored by the listener. |
MobyContentInstance |
MobyDataObjectSetDeferred.getAllContents(String jobParamName)
|
MobyContentInstance |
MobyDataObjectSetDeferredSAI.getAllContents(String jobParamName)
|
MobyContentInstance |
MobyDataObjectDeferredSAI.getAllContents(String jobParamName)
|
MobyContentInstance |
MobyDataObjectDeferred.getAllContents(String jobParamName)
|
MobyContentInstance |
MobyContentCreator.getAllContents(String jobParamName)
|
Methods in ca.ucalgary.seahawk.util with parameters of type MobyContentInstance | |
---|---|
static void |
DataUtils.addUserDataToPayload(MobyContentInstance contentInstance,
Document sourceDoc)
Tacks the data provenance info saved as processing instructions during saveInputData() back into the MobyContentInstance loaded from file using the usual, customization-oblivious MobyDataUtils.fromXMLDocument(). |
static URL |
DataUtils.createServiceInputFileForPeers(MobyContentInstance peerJobs,
MobyDataJob sampleJob)
Create a temp file that populates the MobyContentInstance from the sample data for all missing fields in peerJobs. |
static Transferable |
MobyUtils.createTransferable(MobyContentInstance contents)
|
static URL |
DataUtils.saveOutputData(MobyContentInstance outputData,
MobyService payloadSource,
MobyContentInstance inputData,
String registryEndpoint)
|
Constructors in ca.ucalgary.seahawk.util with parameters of type MobyContentInstance | |
---|---|
MobyDataTransferable(MobyContentInstance mci)
C-tor to use when you have a whole MOBY payload to transfer (potentially many jobs, a.k.a. mobyData blocks). |
Uses of MobyContentInstance in org.biomoby.client |
---|
Methods in org.biomoby.client that return MobyContentInstance | |
---|---|
MobyContentInstance |
MobyRequestEvent.getContent()
|
MobyContentInstance |
MobyRequest.getInput()
|
MobyContentInstance |
MobyRequest.getOutput()
|
MobyContentInstance |
MobyRequestEvent.getSourceInput()
This method should be used instead of getSource().getInput() because the MobyRequest object may have multiple concurrent threads using it, meaning that the inputXML is not necessarily what it was when the service was invoked. |
MobyContentInstance |
MobyRequest.invokeService()
The main method of the class. |
Methods in org.biomoby.client with parameters of type MobyContentInstance | |
---|---|
String |
MobyRequest.convertMOBYDataToMOBYRequest(MobyContentInstance data)
Creates an XML representation of the data, renamed to fit the needs of the service if necessary, and adding any secondary parameter default values if not already specified in the incoming data. |
static EndpointReference |
AsyncClient.sendRequest(MobyService service,
MobyContentInstance contents)
|
void |
MobyRequestEvent.setContent(MobyContentInstance mci)
If you are a service provider who got this event through a callback (client connection), this is where you would write the output, which also denotes that you are finished with client communication (anything done after calling this method will be ignore). |
void |
MobyRequest.setInput(MobyContentInstance data)
Sets the input data for the MOBY service request. |
void |
MobyRequestEvent.setSourceInput(MobyContentInstance inputPayload)
|
Constructors in org.biomoby.client with parameters of type MobyContentInstance | |
---|---|
MobyRequestEvent(MobyContentInstance mci,
MobyRequest requestSource,
MobyService serv,
MobyContentInstance serviceInput,
Throwable e,
int id)
|
Uses of MobyContentInstance in org.biomoby.service |
---|
Methods in org.biomoby.service that return MobyContentInstance | |
---|---|
MobyContentInstance |
MobyServlet.getMobyContents(javax.servlet.http.HttpServletRequest request)
|
Methods in org.biomoby.service with parameters of type MobyContentInstance | |
---|---|
void |
MobyServlet.processRequests(MobyContentInstance requestContents,
MobyContentInstance resultContents)
By default, this method will sequentially execute the individual jobs from the request payload (processRequest). |
Uses of MobyContentInstance in org.biomoby.shared.data |
---|
Methods in org.biomoby.shared.data that return MobyContentInstance | |
---|---|
static MobyContentInstance |
MobyDataUtils.fromXMLDocument(Element doc_root)
Create a MOBY Java object representation from a MOBY XML payload represented in a DOM. |
static MobyContentInstance |
MobyDataUtils.fromXMLDocument(Element doc_root,
Registry registry)
Create a MOBY Java object representation from a MOBY XML payload represented in a DOM. |
static MobyContentInstance |
MobyDataUtils.fromXMLDocument(InputStream is)
Create a MOBY Java object representation from a MOBY XML payload coming from an InputStream (a byte stream that will becoverted by the parser into character data). |
static MobyContentInstance |
MobyDataUtils.fromXMLDocument(InputStream is,
Registry registry)
|
static MobyContentInstance |
MobyDataUtils.fromXMLDocument(Reader reader)
Create a MOBY Java object representation from a MOBY XML payload coming from a Reader (character data). |
static MobyContentInstance |
MobyDataUtils.fromXMLDocument(Reader reader,
Registry registry)
|
static MobyContentInstance |
MobyDataUtils.fromXMLDocument(String xmlData)
Create a MOBY Java object representation from a MOBY XML payload stored in a String. |
static MobyContentInstance |
MobyDataUtils.fromXMLDocument(String xmlData,
Registry registry)
|
static MobyContentInstance |
MobyDataUtils.fromXMLDocument(URL url)
Create a MOBY Java object representation from a MOBY XML payload at the given URL. |
static MobyContentInstance |
MobyDataUtils.fromXMLDocument(URL url,
Registry registry)
|
Methods in org.biomoby.shared.data with parameters of type MobyContentInstance | |
---|---|
static boolean |
MobyDataUtils.toXMLDocument(OutputStream os,
MobyContentInstance mci)
Writes the XML version of the contents, with an XML declaration. |
static boolean |
MobyDataUtils.toXMLDocument(OutputStream os,
MobyContentInstance mci,
boolean includeXMLDeclaration)
Output the XML representation of the data to an OutputStream (i.e. an output that takes byte data, not character-encoded strings). |
static boolean |
MobyDataUtils.toXMLDocument(Writer writer,
MobyContentInstance mci)
Writes the XML version of the contents, with an XML declaration. |
static boolean |
MobyDataUtils.toXMLDocument(Writer writer,
MobyContentInstance mci,
boolean includeXMLDeclaration)
Output the XML representation of the data to a Writer (i.e. an output that understands character-encoded strings). |
|
Version: 1.1.1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |