org.openanzo.atom
Class QuesoRDFModel

java.lang.Object
  extended by org.openanzo.atom.QuesoRDFModel
All Implemented Interfaces:
AtomConstants

public class QuesoRDFModel
extends java.lang.Object
implements AtomConstants

Author:
Ben Szekely (bhszekel@us.ibm.com)

Field Summary
static org.apache.abdera.parser.Parser atomParser
           
static org.apache.abdera.factory.Factory factory
           
 
Fields inherited from interface org.openanzo.atom.AtomConstants
ANCHOR, ATOM_SERVER_NAME, ATOM_SERVER_VERSION, BINARY_CONTENT_SRC, BINARY_CONTENT_TYPE, BINARY_CONTENT_VERSION, CLIENT_DOJO, COLLECTION_PAGE_SIZE, CONTENT_ATOM_XML, CONTENT_ATOM_XML_UTF8, CONTENT_ATOMSERV_XML, CONTENT_ATOMSERV_XML_UTF8, CONTENT_HTML, CONTENT_JSON, CONTENT_MULTIPART_FORM_DATA, CONTENT_RDF_XML, CONTENT_TEXT, CONTENT_XHTML, CONTENT_XHTML_SHORT, CONTENT_XML, DELIM, EDIT, ENTRY, HEADER_ACCEPT, HEADER_ALLOW, HEADER_CONTENT_LOCATION, HEADER_CONTENT_TYPE, HEADER_ETAG, HEADER_LOCATION, HEADER_TITLE, HISTORY, HTTP_BAD_REQUEST, HTTP_CONFLICT, HTTP_CREATED, HTTP_FORBIDDEN, HTTP_GONE, HTTP_INTERNAL_SERVER_ERROR, HTTP_METHOD_NOT_ALLOWED, HTTP_NOT_AUTHORIZED, HTTP_NOT_FOUND, HTTP_NOT_MODIFIED, HTTP_OK, HTTP_UNSUPPORTED_MEDIA, INVALID_ATOM_ENTRY, INVALID_COLLECTION_URI, LINK_REL_ALTERNATE, LINK_REL_ANCHOR, LINK_REL_COLLECTION, LINK_REL_CONTENT_GRAPH, LINK_REL_EDIT, LINK_REL_EDIT_MEDIA, LINK_REL_FIRST, LINK_REL_HISTORY, LINK_REL_INTROSPECTION, LINK_REL_LAST, LINK_REL_NEXT, LINK_REL_PREVIOUS, LINK_REL_RELATED, LINK_REL_SELF, MEDIA, NS_QUESO, NS_XHTML, PREFIX_QUESO, QUESO_NS, REQUEST_PARAMETER_ACCEPT, REQUEST_PARAMETER_CLIENT, REQUEST_PARAMETER_COLLECTION_URI, SPECIAL_RESOURCE_THISENTRY, SPECIAL_RESOURCE_TIMESTAMP, UNKNOWN_SERVER_ERROR, X_OVERRIDE_HEADER, X_STATUS_HEADER, XSD_ANYURI, XSD_INT, XSD_STRING
 
Constructor Summary
QuesoRDFModel(INamedGraph graph)
           
 
Method Summary
 org.apache.abdera.model.Entry getEntry()
           
 org.apache.abdera.model.Entry getEntry(Entry jEntry, org.apache.abdera.model.Feed parent)
           
 org.apache.abdera.model.Entry getEntry(java.lang.String uri)
           
 org.apache.abdera.model.Entry getEntry(java.lang.String uri, org.apache.abdera.model.Feed parent)
           
static Entry getEntryFromModel(INamedGraph graph)
           
 INamedGraph getGraph()
           
 void loadAtomXMLEntry(java.io.InputStream in)
           
 Entry loadEntry(org.apache.abdera.model.Entry entry)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

public static org.apache.abdera.factory.Factory factory

atomParser

public static org.apache.abdera.parser.Parser atomParser
Constructor Detail

QuesoRDFModel

public QuesoRDFModel(INamedGraph graph)
Method Detail

getEntryFromModel

public static Entry getEntryFromModel(INamedGraph graph)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getGraph

public INamedGraph getGraph()

loadAtomXMLEntry

public void loadAtomXMLEntry(java.io.InputStream in)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getEntry

public org.apache.abdera.model.Entry getEntry()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getEntry

public org.apache.abdera.model.Entry getEntry(java.lang.String uri)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getEntry

public org.apache.abdera.model.Entry getEntry(java.lang.String uri,
                                              org.apache.abdera.model.Feed parent)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getEntry

public org.apache.abdera.model.Entry getEntry(Entry jEntry,
                                              org.apache.abdera.model.Feed parent)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

loadEntry

public Entry loadEntry(org.apache.abdera.model.Entry entry)
                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.