Spring Hateoas

org.springframework.hateoas.alps
Class Doc

java.lang.Object
  extended by org.springframework.hateoas.alps.Doc

public class Doc
extends Object

A value object for an ALPS doc element.

Since:
0.15
Author:
Oliver Gierke
See Also:
http://alps.io/spec/#prop-doc

Constructor Summary
Doc(String value, Format format)
          Creates a new Doc instance with the given value and Format.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Doc

public Doc(String value,
           Format format)
Creates a new Doc instance with the given value and Format.

Parameters:
value - must not be null or empty.
format - must not be null.

Spring Hateoas

Copyright © 2012-2014–2014 Pivotal, Inc.. All rights reserved.