org.openrdf.concepts.awol
Interface Content

All Superinterfaces:
Entity, Representation, Resource, WebarchResource
All Known Subinterfaces:
HTML, PlainText, TextContent, XHTML, XML

public interface Content
extends Representation

see §4.1.3 in rfc 4287 One way to think of this is as a class that represents what one can get from an HTTP connection. It has a body, and a number of headers, info such as mime-type, content-lenght, etc... .


Method Summary
 Object getAwolBody()
          the body of the content.
 Locale getAwolLang()
          see §4.2.7.4 of rfc 4287.
 Integer getAwolLength()
          see §4.2.7.6 of rfc 4287.
 Set<InformationResource> getAwolSrcs()
          a source of the representation
 String getAwolType()
          see §4.2.7.3 of rfc 4287.
 void setAwolBody(Object value)
          the body of the content.
 void setAwolLang(Locale value)
          see §4.2.7.4 of rfc 4287.
 void setAwolLength(Integer value)
          see §4.2.7.6 of rfc 4287.
 void setAwolSrcs(Set<? extends InformationResource> value)
          a source of the representation
 void setAwolType(String value)
          see §4.2.7.3 of rfc 4287.
 
Methods inherited from interface org.openrdf.concepts.webarch.Representation
getWebRepresentationOf, setWebRepresentationOf
 
Methods inherited from interface org.openrdf.concepts.webarch.WebarchResource
getWebRepresentation, getWebResolvesAs, getWebServer, getWebService, getWebSite, setWebRepresentation, setWebResolvesAs, setWebServer, setWebService, setWebSite
 
Methods inherited from interface org.openrdf.concepts.rdfs.Resource
getRdfsComment, getRdfsIsDefinedBy, getRdfsLabel, getRdfsMembers, getRdfsSeeAlso, getRdfTypes, getRdfValues, setRdfsComment, setRdfsIsDefinedBy, setRdfsLabel, setRdfsMembers, setRdfsSeeAlso, setRdfTypes, setRdfValues
 
Methods inherited from interface org.openrdf.elmo.Entity
getElmoManager, getQName
 

Method Detail

getAwolBody

Object getAwolBody()
the body of the content.


setAwolBody

void setAwolBody(Object value)
the body of the content.


getAwolLang

Locale getAwolLang()
see §4.2.7.4 of rfc 4287. The language of the representation.


setAwolLang

void setAwolLang(Locale value)
see §4.2.7.4 of rfc 4287. The language of the representation.


getAwolLength

Integer getAwolLength()
see §4.2.7.6 of rfc 4287. The length in bytes of the representation.


setAwolLength

void setAwolLength(Integer value)
see §4.2.7.6 of rfc 4287. The length in bytes of the representation.


getAwolSrcs

Set<InformationResource> getAwolSrcs()
a source of the representation


setAwolSrcs

void setAwolSrcs(Set<? extends InformationResource> value)
a source of the representation


getAwolType

String getAwolType()
see §4.2.7.3 of rfc 4287. The mime type of the representation.


setAwolType

void setAwolType(String value)
see §4.2.7.3 of rfc 4287. The mime type of the representation.



Copyright © 2004-2008 Aduna. All Rights Reserved.