net.fortytwo.linkeddata
Class ContextMemo
java.lang.Object
net.fortytwo.linkeddata.ContextMemo
public class ContextMemo
- extends Object
- Author:
- Joshua Shinavier (http://fortytwo.net)
ContextMemo
public ContextMemo()
ContextMemo
public ContextMemo(ContextMemo.Status status)
ContextMemo
public ContextMemo(Collection<ContextProperty> entries)
throws RippleException
- Constructor which uses pre-parsed key-value pairs.
- Parameters:
entries -
- Throws:
RippleException
ContextMemo
public ContextMemo(String s)
throws RippleException
- Constructor which parses the compact memo format.
- Parameters:
s -
- Throws:
RippleException
getEntries
public Collection<ContextProperty> getEntries()
toString
public String toString()
- Overrides:
toString in class Object
- Returns:
- the compact, parseable string representation of this memo
getStatus
public ContextMemo.Status getStatus()
setStatus
public void setStatus(ContextMemo.Status status)
setMediaType
public void setMediaType(org.restlet.data.MediaType mt)
setUriDereferencer
public void setUriDereferencer(Dereferencer dref)
setRdfizer
public void setRdfizer(Rdfizer rfiz)
Copyright © 2007-2011 fortytwo.net. All Rights Reserved.