Package au.net.causal.projo.annotation

Examples of au.net.causal.projo.annotation.PreferenceRoot


  throws PreferencesException
  {
    if (!isPreferenceRootSettingUsed())
      return(node);
   
    PreferenceRoot rootConfig = metadata.getAnnotation(PreferenceRoot.class);
    String rootName;
    if (rootConfig == null || StringUtils.isEmpty(rootConfig.name()))
      rootName = metadata.getEntityType().getCanonicalName();
    else
      rootName = rootConfig.name();
   
    PreferenceNode curNode = node;
    for (String nodeToken : rootName.split(Pattern.quote(ClassUtils.PACKAGE_SEPARATOR)))
    {
      curNode = curNode.getChildNode(nodeToken);
View Full Code Here

TOP

Related Classes of au.net.causal.projo.annotation.PreferenceRoot

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.