Package org.exoplatform.portal.config.model

Examples of org.exoplatform.portal.config.model.LocalizedString


            }
        }

        String value = StaxNavUtils.getRequiredContent(navigator, false);

        return new LocalizedString(value, lang);
    }
View Full Code Here


            }
        }
        ctx.parsePastStartTag(marshalURI, marshallName);
        String value = ctx.getText();
        ctx.parsePastEndTag(marshalURI, marshallName);
        return new LocalizedString(value, lang);
    }
View Full Code Here

        if (node.getState().getLabel() == null) {
            Map<Locale, Described.State> descriptions = service.getDescriptions(node.getId());
            if (descriptions != null && !descriptions.isEmpty()) {
                I18NString labels = new I18NString();
                for (Map.Entry<Locale, Described.State> entry : descriptions.entrySet()) {
                    labels.add(new LocalizedString(entry.getValue().getName(), entry.getKey()));
                }

                pageNode.setLabels(labels);
            }
        } else {
View Full Code Here

            }
        }

        String value = StaxNavUtils.getRequiredContent(navigator, false);

        return new LocalizedString(value, lang);
    }
View Full Code Here

         }
      }
      ctx.parsePastStartTag(marshalURI, marshallName);
      String value = ctx.getText();
      ctx.parsePastEndTag(marshalURI, marshallName);
      return new LocalizedString(value, lang);
   }
View Full Code Here

         if (descriptions != null && !descriptions.isEmpty())
         {
            I18NString labels = new I18NString();
            for (Map.Entry<Locale, Described.State> entry : descriptions.entrySet())
            {
               labels.add(new LocalizedString(entry.getValue().getName(), entry.getKey()));
            }

            pageNode.setLabels(labels);
         }
      }
View Full Code Here

         }
      }

      String value = StaxNavUtils.getRequiredContent(navigator, false);

      return new LocalizedString(value, lang);
   }
View Full Code Here

        if (nodeState.getLabel() == null) {
            Map<Locale, Described.State> descriptions = service.getDescriptions(node.getId());
            if (descriptions != null && !descriptions.isEmpty()) {
                I18NString labels = new I18NString();
                for (Map.Entry<Locale, Described.State> entry : descriptions.entrySet()) {
                    labels.add(new LocalizedString(entry.getValue().getName(), entry.getKey()));
                }

                pageNode.setLabels(labels);
            }
        } else {
View Full Code Here

            }
        }

        String value = StaxNavUtils.getRequiredContent(navigator, false);

        return new LocalizedString(value, lang);
    }
View Full Code Here

TOP

Related Classes of org.exoplatform.portal.config.model.LocalizedString

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.