Uses of Class
org.restlet.resource.Representation

Packages that use Representation
org.restlet Core classes of the API. 
org.restlet.data Element of information handled by a component via a connector. 
org.restlet.resource Common resource and representation data elements. 
org.restlet.service Service classes used by applications and components. 
org.restlet.util Utility classes and interfaces used in the rest of the API. 
 

Uses of Representation in org.restlet
 

Methods in org.restlet that return Representation
 Representation Directory.getIndexRepresentation(Variant variant, ReferenceList indexContent)
          Returns an actual index representation for a given variant.
 Representation Transformer.getTransformSheet()
          Returns the XSLT transform sheet to apply to message entities.
protected  Representation Redirector.rewrite(Representation initialEntity)
          Optionnaly rewrites the response entity returned in the MODE_CONNECTOR mode.
 Representation Transformer.transform(Representation source)
          Transforms a source XML representation by applying an XSLT transform sheet to it.
 

Methods in org.restlet with parameters of type Representation
 Response Uniform.post(Reference resourceRef, Representation entity)
          Posts a representation to the identified resource.
 Response Uniform.post(java.lang.String resourceUri, Representation entity)
          Posts a representation to the identified resource.
 Response Uniform.put(Reference resourceRef, Representation entity)
          Puts a representation in the identified resource.
 Response Uniform.put(java.lang.String resourceUri, Representation entity)
          Puts a representation in the identified resource.
protected  Representation Redirector.rewrite(Representation initialEntity)
          Optionnaly rewrites the response entity returned in the MODE_CONNECTOR mode.
 void Transformer.setTransformSheet(Representation transformSheet)
          Sets the XSLT transform sheet to apply to message entities.
 Representation Transformer.transform(Representation source)
          Transforms a source XML representation by applying an XSLT transform sheet to it.
 

Constructors in org.restlet with parameters of type Representation
Component(Representation xmlConfigRepresentation)
          Constructor with the representation of the XML configuration file.
Transformer(int mode, Representation transformSheet)
          Constructor.
 

Uses of Representation in org.restlet.data
 

Methods in org.restlet.data that return Representation
 Representation Message.getEntity()
          Returns the entity representation.
 Representation ReferenceList.getTextRepresentation()
          Returns a representation of the list in the "text/uri-list" format.
 Representation ReferenceList.getWebRepresentation()
          Returns a representation of the list in "text/html" format.
 Representation Form.getWebRepresentation()
          Returns the form as a Web representation (MediaType.APPLICATION_WWW_FORM).
 Representation Form.getWebRepresentation(CharacterSet characterSet)
          Returns the form as a Web representation (MediaType.APPLICATION_WWW_FORM).
 

Methods in org.restlet.data with parameters of type Representation
 Status Conditions.getStatus(Method method, Representation representation)
          Returns the conditional status of a variant using a given method.
 void Message.setEntity(Representation entity)
          Sets the entity representation.
 

Constructors in org.restlet.data with parameters of type Representation
Form(java.util.logging.Logger logger, Representation representation)
          Deprecated. Use the constructor without logger instead.
Form(Representation webForm)
          Constructor.
Message(Representation entity)
          Constructor.
ReferenceList(Representation uriList)
          Constructor from a "text/uri-list" representation.
Request(Method method, Reference resourceRef, Representation entity)
          Constructor.
Request(Method method, java.lang.String resourceUri, Representation entity)
          Constructor.
 

Uses of Representation in org.restlet.resource
 

Subclasses of Representation in org.restlet.resource
 class ChannelRepresentation
          Representation based on a NIO byte channel.
 class CharacterRepresentation
          Representation based on a BIO character stream.
 class DigestRepresentation
          Representation capable of computing a digest.
 class DomRepresentation
          XML representation based on a DOM document.
 class FileRepresentation
          Representation based on a file.
 class InputRepresentation
          Transient representation based on a BIO input stream.
 class ObjectRepresentation<T extends Serializable>
          Representation based on a serializable Java object.
 class OutputRepresentation
          Representation based on a BIO output stream.
 class ReadableRepresentation
          Transient representation based on a readable NIO byte channel.
 class ReaderRepresentation
          Transient representation based on a BIO characters reader.
 class SaxRepresentation
          XML representation for SAX events processing.
 class StreamRepresentation
          Representation based on a BIO stream.
 class StringRepresentation
          Represents an Unicode string that can be converted to any character set supported by Java.
 class TransformRepresentation
          Representation able to apply an XSLT transformation.
 class WritableRepresentation
          Representation based on a writable NIO byte channel.
 class WriterRepresentation
          Representation based on a BIO characters writer.
 class XmlRepresentation
          Representation based on an XML document.
 

Methods in org.restlet.resource that return Representation
static Representation Representation.createEmpty()
          Returns a new empty representation with no content.
 Representation Resource.getPreferredRepresentation()
          Deprecated. Use the Resource.represent() method instead.
 Representation Resource.getRepresentation(Variant variant)
          Deprecated. Use the Resource.represent(Variant) method instead.
 Representation TransformRepresentation.getSourceRepresentation()
          Returns the source representation to transform.
 Representation TransformRepresentation.getTransformSheet()
          Returns the XSLT transform sheet to apply to the source representation.
 Representation Resource.represent()
          Returns the preferred representation according to the client preferences specified in the request.
 Representation Resource.represent(Variant variant)
          Returns a full representation for a given variant previously returned via the getVariants() method.
 

Methods in org.restlet.resource with parameters of type Representation
 void Resource.acceptRepresentation(Representation entity)
          Accepts and processes a representation posted to the resource.
static javax.xml.transform.sax.SAXSource XmlRepresentation.getSaxSource(Representation xmlRepresentation)
          Returns a SAX source.
 void Resource.post(Representation entity)
          Deprecated. Use the Resource.acceptRepresentation(Representation) method instead.
 void Resource.put(Representation entity)
          Deprecated. Use the Resource.storeRepresentation(Representation) method instead.
 void TransformRepresentation.setSourceRepresentation(Representation source)
          Sets the source representation to transform.
 void TransformRepresentation.setTransformSheet(Representation transformSheet)
          Sets the XSLT transform sheet to apply to message entities.
 void Resource.storeRepresentation(Representation entity)
          Stores a representation put to the resource and replaces all existing representations of the resource.
 void XmlRepresentation.validate(Representation schemaRepresentation)
          Validates the XML representation against a given schema.
 void XmlRepresentation.validate(Representation schemaRepresentation, javax.xml.transform.Result result)
          Validates the XML representation against a given schema.
 

Constructors in org.restlet.resource with parameters of type Representation
DigestRepresentation(Representation wrappedRepresentation)
          Constructor.
By default, the instance relies on the Digest.ALGORITHM_MD5 digest algorithm.
DigestRepresentation(Representation wrappedRepresentation, java.lang.String algorithm)
          Constructor.
DomRepresentation(Representation xmlRepresentation)
          Constructor.
ObjectRepresentation(Representation serializedRepresentation)
          Constructor reading the object from a serialized representation.
SaxRepresentation(Representation xmlRepresentation)
          Constructor.
TransformRepresentation(Context context, Representation source, Representation transformSheet)
          Constructor.
TransformRepresentation(Representation source, Representation transformSheet)
          Default constructor.
TransformRepresentation(javax.xml.transform.URIResolver uriResolver, Representation source, Representation transformSheet)
          Constructor.
TransformRepresentation(javax.xml.transform.URIResolver uriResolver, Representation source, javax.xml.transform.Templates templates)
          Constructor.
 

Uses of Representation in org.restlet.service
 

Methods in org.restlet.service that return Representation
 Representation StatusService.getRepresentation(Status status, Request request, Response response)
          Returns a representation for the given status.
In order to customize the default representation, this method can be overriden.
 Representation ConverterService.toRepresentation(java.lang.Object object)
          Deprecated. Converts a higher-level object into a representation.
 

Methods in org.restlet.service with parameters of type Representation
 void ConnectorService.afterSend(Representation entity)
          Call-back method invoked by the client or server connectors just after sending the entity to the target component.
 void ConnectorService.beforeSend(Representation entity)
          Call-back method invoked by the client or server connectors just before sending the entity to the target component.
 java.lang.Object ConverterService.toObject(Representation representation)
          Deprecated. Converts a representation into a higher-level object.
 

Uses of Representation in org.restlet.util
 

Subclasses of Representation in org.restlet.util
 class WrapperRepresentation
          Representation wrapper.
 

Methods in org.restlet.util that return Representation
 Representation WrapperRequest.getEntity()
          Returns the entity representation.
 Representation WrapperResponse.getEntity()
          Returns the entity representation.
 Representation WrapperRepresentation.getWrappedRepresentation()
          Returns the wrapped representation.
 

Methods in org.restlet.util with parameters of type Representation
static java.nio.channels.ReadableByteChannel ByteUtils.getChannel(Representation representation)
          Returns a readable byte channel based on the given representation's content and its write(WritableByteChannel) method.
static java.io.InputStream ByteUtils.getStream(Representation representation)
          Returns an input stream based on the given representation's content and its write(OutputStream) method.
abstract  void Engine.parse(Form form, Representation representation)
          Parses a representation into a form.
 void WrapperRequest.setEntity(Representation entity)
          Sets the entity representation.
 void WrapperResponse.setEntity(Representation entity)
          Sets the entity representation.
 

Constructors in org.restlet.util with parameters of type Representation
WrapperRepresentation(Representation wrappedRepresentation)
          Constructor.
 



Copyright © 2005-2008 Noelios Technologies.