com.citytechinc.aem.bedrock.api.page.enums
Enum TitleType

java.lang.Object
  extended by java.lang.Enum<TitleType>
      extended by com.citytechinc.aem.bedrock.api.page.enums.TitleType
All Implemented Interfaces:
Serializable, Comparable<TitleType>

public enum TitleType
extends Enum<TitleType>

Enumeration of page title types.


Enum Constant Summary
NAVIGATION_TITLE
          Navigation title corresponding to "navTitle" property.
PAGE_TITLE
          Secondary page title corresponding to "pageTitle" property.
TITLE
          Default page title corresponding to "jcr:title" property.
 
Method Summary
 String getPropertyName()
           
static TitleType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TitleType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TITLE

public static final TitleType TITLE
Default page title corresponding to "jcr:title" property.


PAGE_TITLE

public static final TitleType PAGE_TITLE
Secondary page title corresponding to "pageTitle" property.


NAVIGATION_TITLE

public static final TitleType NAVIGATION_TITLE
Navigation title corresponding to "navTitle" property.

Method Detail

values

public static TitleType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TitleType c : TitleType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TitleType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null

getPropertyName

public String getPropertyName()


Copyright © 2015 CITYTECH, Inc.. All rights reserved.