com.sun.jersey.server.linking.impl
Class LinkDescriptor

java.lang.Object
  extended by com.sun.jersey.server.linking.impl.LinkDescriptor
All Implemented Interfaces:
RefDescriptor

public class LinkDescriptor
extends Object
implements RefDescriptor

Utility class for working with Link annotations

Author:
mh124079

Method Summary
 String getBinding(String name)
          Get the binding as an EL expression for a particular URI template parameter
 String getCondition()
          Get the condition.
 Link getLinkHeader()
           
 Ref.Style getLinkStyle()
          Get the style
 String getLinkTemplate()
          Get the link template, either directly from the value() or from the
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLinkHeader

public Link getLinkHeader()

getLinkTemplate

public String getLinkTemplate()
Description copied from interface: RefDescriptor
Get the link template, either directly from the value() or from the

Specified by:
getLinkTemplate in interface RefDescriptor
Returns:
the link template

getLinkStyle

public Ref.Style getLinkStyle()
Description copied from interface: RefDescriptor
Get the style

Specified by:
getLinkStyle in interface RefDescriptor
Returns:
the style

getBinding

public String getBinding(String name)
Description copied from interface: RefDescriptor
Get the binding as an EL expression for a particular URI template parameter

Specified by:
getBinding in interface RefDescriptor
Returns:
the EL binding

getCondition

public String getCondition()
Description copied from interface: RefDescriptor
Get the condition.

Specified by:
getCondition in interface RefDescriptor
Returns:
the condition


Copyright © 2013 Oracle Corporation. All Rights Reserved.