Package org.apache.juneau.html
Enum Class AnchorText
- All Implemented Interfaces:
- Serializable,- Comparable<AnchorText>,- Constable
Identifies possible values for the 
HtmlSerializer.Builder.uriAnchorText(AnchorText) setting.
 See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionSame asTO_STRINGbut assumes it's a context-relative path.Set to the last token of the URI value.Same asTO_STRINGbut assumes it's a path-relative path.Set to the bean property name.Same asTO_STRINGbut assumes it's a servlet-relative path.Set to whatever is returned byEnum.toString()on the object.Set to the URI value.Set to the anchor of the URL.
- 
Method SummaryModifier and TypeMethodDescriptionstatic AnchorTextReturns the enum constant of this class with the specified name.static AnchorText[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
TO_STRINGSet to whatever is returned byEnum.toString()on the object.
- 
PROPERTY_NAMESet to the bean property name.
- 
URISet to the URI value.This is the same as TO_STRINGbut strips off the anchor tag if present.
- 
LAST_TOKENSet to the last token of the URI value.
- 
URI_ANCHORSet to the anchor of the URL.(e.g. "http://localhost:9080/foobar#anchorTextHere" )
- 
CONTEXT_RELATIVESame asTO_STRINGbut assumes it's a context-relative path.
- 
SERVLET_RELATIVESame asTO_STRINGbut assumes it's a servlet-relative path.
- 
PATH_RELATIVESame asTO_STRINGbut assumes it's a path-relative path.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-