Codota Logo
CmsRelationType.valueOfInternal
Code IndexAdd Codota to your IDE (free)

How to use
valueOfInternal
method
in
org.opencms.relations.CmsRelationType

Best Java code snippets using org.opencms.relations.CmsRelationType.valueOfInternal (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.opencms/opencms-core

/**
 * Parses the given value into a valid enumeration element for a XML relation type.<p>
 *
 * This should be used to extend Strings like "weak" or "strong" to full relation type descriptors
 * for XML documents like "XML_WEAK" or "XML_STRONG".<p>
 *
 * @param name the name to get the XML type for
 *
 * @return the XML enumeration element
 *
 * @see #valueOf(String)
 */
public static CmsRelationType valueOfXml(String name) {
  CmsRelationType result = valueOfInternal(name);
  if (result == null) {
    result = valueOf(PREFIX_XML + name);
  }
  return result;
}
origin: org.opencms/opencms-solr

/**
 * Parses the given value into a valid enumeration element for a JSP relation type.<p>
 * 
 * This should be used to extend Strings like "weak" or "strong" to full relation type descriptors
 * for JSP pages like "JSP_WEAK" or "JSP_STRONG".<p> 
 * 
 * @param name the name to get the JSP type for
 * 
 * @return the JSP enumeration element
 * 
 * @see #valueOf(String)
 */
public static CmsRelationType valueOfJsp(String name) {
  CmsRelationType result = valueOfInternal(name);
  if (result == null) {
    result = valueOf(PREFIX_JSP + name);
  }
  return result;
}
origin: org.opencms/opencms-core

/**
 * Parses the given value into a valid enumeration element for a JSP relation type.<p>
 *
 * This should be used to extend Strings like "weak" or "strong" to full relation type descriptors
 * for JSP pages like "JSP_WEAK" or "JSP_STRONG".<p>
 *
 * @param name the name to get the JSP type for
 *
 * @return the JSP enumeration element
 *
 * @see #valueOf(String)
 */
public static CmsRelationType valueOfJsp(String name) {
  CmsRelationType result = valueOfInternal(name);
  if (result == null) {
    result = valueOf(PREFIX_JSP + name);
  }
  return result;
}
origin: org.opencms/opencms-solr

/**
 * Parses the given value into a valid enumeration element for a XML relation type.<p>
 * 
 * This should be used to extend Strings like "weak" or "strong" to full relation type descriptors
 * for XML documents like "XML_WEAK" or "XML_STRONG".<p> 
 * 
 * @param name the name to get the XML type for
 * 
 * @return the XML enumeration element
 * 
 * @see #valueOf(String)
 */
public static CmsRelationType valueOfXml(String name) {
  CmsRelationType result = valueOfInternal(name);
  if (result == null) {
    result = valueOf(PREFIX_XML + name);
  }
  return result;
}
origin: org.opencms/opencms-core

/**
 * Parses an <code>String</code> into a relation type.<p>
 *
 * @param name the relation type name
 *
 * @return the enumeration element
 *
 * @throws CmsIllegalArgumentException if the given value could not be matched against a
 *         <code>{@link CmsRelationType}</code> object
 *
 * @see #valueOfXml(String)
 * @see #valueOfJsp(String)
 */
public static CmsRelationType valueOf(String name) throws CmsIllegalArgumentException {
  CmsRelationType result = valueOfInternal(name);
  if (result == null) {
    // no type found
    throw new CmsIllegalArgumentException(org.opencms.db.Messages.get().container(
      org.opencms.db.Messages.ERR_MODE_ENUM_PARSE_2,
      name,
      CmsRelationType.class.getName()));
  }
  return result;
}
origin: org.opencms/opencms-solr

/**
 * Parses an <code>String</code> into a relation type.<p>
 *
 * @param name the relation type name
 * 
 * @return the enumeration element
 * 
 * @throws CmsIllegalArgumentException if the given value could not be matched against a 
 *         <code>{@link CmsRelationType}</code> object
 *         
 * @see #valueOfXml(String)
 * @see #valueOfJsp(String)
 */
public static CmsRelationType valueOf(String name) throws CmsIllegalArgumentException {
  CmsRelationType result = valueOfInternal(name);
  if (result == null) {
    // no type found
    throw new CmsIllegalArgumentException(org.opencms.db.Messages.get().container(
      org.opencms.db.Messages.ERR_MODE_ENUM_PARSE_2,
      name,
      CmsRelationType.class.getName()));
  }
  return result;
}
org.opencms.relationsCmsRelationTypevalueOfInternal

Javadoc

Internal parse method.

Popular methods of CmsRelationType

  • getLocalizedName
    Returns a localized name for the given relation type.
  • <init>
    Private constructor for system relation types.
  • filterDefinedInContent
    Returns all relation types in the given list that define relations in the content.
  • filterInternal
    Returns all internal defined relation types in the given list.
  • filterNotDefinedInContent
    Returns all relation types in the given list that are not defined in the content.
  • filterStrong
    Returns all strong relation types in the given list.
  • filterUserDefined
    Returns all user defined relation types in the given list.
  • filterWeak
    Returns all weak relation types in the given list.
  • getAll
    Returns all relation types.
  • getAllDefinedInContent
    Returns all relation types for relations defined in the content.
  • getAllInternal
    Returns all internally defined relation types.
  • getAllNotDefinedInContent
    Returns all relation types for relations that are not defined in the content.
  • getAllInternal,
  • getAllNotDefinedInContent,
  • getAllStrong,
  • getAllUserDefined,
  • getAllWeak,
  • getId,
  • getName,
  • getNameForXml,
  • getType,
  • hashCode

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • BoxLayout (javax.swing)
  • JComboBox (javax.swing)
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now