org.openanzo.atom.atomowl
Class AtomOWLWriter
java.lang.Object
org.openanzo.atom.atomowl.AtomOWLWriter
- All Implemented Interfaces:
- org.apache.abdera.writer.NamedWriter, org.apache.abdera.writer.Writer, AtomConstants
public class AtomOWLWriter
- extends java.lang.Object
- implements org.apache.abdera.writer.NamedWriter, AtomConstants
- Author:
- Elias Torres (eliast@us.ibm.com)
|
Field Summary |
static java.lang.String |
NAME
|
| 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 |
|
Method Summary |
java.lang.String |
getName()
|
java.lang.String[] |
getOutputFormats()
|
boolean |
outputsFormat(java.lang.String format)
|
java.lang.Object |
write(org.apache.abdera.model.Base base)
|
void |
writeTo(org.apache.abdera.model.Base base,
java.io.OutputStream out)
|
void |
writeTo(org.apache.abdera.model.Base base,
java.io.Writer out)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
AtomOWLWriter
public AtomOWLWriter()
getName
public java.lang.String getName()
- Specified by:
getName in interface org.apache.abdera.writer.NamedWriter
getOutputFormats
public java.lang.String[] getOutputFormats()
- Specified by:
getOutputFormats in interface org.apache.abdera.writer.NamedWriter
outputsFormat
public boolean outputsFormat(java.lang.String format)
- Specified by:
outputsFormat in interface org.apache.abdera.writer.NamedWriter
write
public java.lang.Object write(org.apache.abdera.model.Base base)
throws java.io.IOException
- Specified by:
write in interface org.apache.abdera.writer.Writer
- Throws:
java.io.IOException
writeTo
public void writeTo(org.apache.abdera.model.Base base,
java.io.OutputStream out)
throws java.io.IOException
- Specified by:
writeTo in interface org.apache.abdera.writer.Writer
- Throws:
java.io.IOException
writeTo
public void writeTo(org.apache.abdera.model.Base base,
java.io.Writer out)
throws java.io.IOException
- Specified by:
writeTo in interface org.apache.abdera.writer.Writer
- Throws:
java.io.IOException
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.