Tabnine Logo
CmsXmlContent.getNames
Code IndexAdd Tabnine to your IDE (free)

How to use
getNames
method
in
org.opencms.xml.content.CmsXmlContent

Best Java code snippets using org.opencms.xml.content.CmsXmlContent.getNames (Showing top 3 results out of 315)

origin: org.opencms/opencms-core

/**
 * Sets the editor values for the locale with the parameters from the request.<p>
 *
 * Called before saving the xml content, redisplaying the input form,
 * changing the language and adding or removing elements.<p>
 *
 * @param locale the locale of the content to save
 * @throws CmsXmlException if something goes wrong
 */
public void setEditorValues(Locale locale) throws CmsXmlException {
  List<String> names = m_content.getNames(locale);
  Iterator<String> i = names.iterator();
  while (i.hasNext()) {
    String path = i.next();
    I_CmsXmlContentValue value = m_content.getValue(path, locale);
    if (value.isSimpleType()) {
      I_CmsWidget widget = value.getContentDefinition().getContentHandler().getWidget(value);
      widget.setEditorValue(
        getCms(),
        getJsp().getRequest().getParameterMap(),
        this,
        (I_CmsWidgetParameter)value);
    }
  }
}
origin: org.opencms/org.opencms.workplace.tools.searchindex

List<String> paths = xmlContent.getNames(locale);
for (String xpath : paths) {
origin: org.opencms/opencms-core

List<String> paths = xmlContent.getNames(locale);
for (String xpath : paths) {
org.opencms.xml.contentCmsXmlContentgetNames

Popular methods of CmsXmlContent

  • getValue
  • getStringValue
  • getValues
  • hasLocale
  • getFile
  • getLocales
  • marshal
  • addValue
    Adds a new XML schema type with the default value to the given parent node.
  • getIndexCount
  • hasValue
  • addLocale
  • copyLocale
    Copies the content of the given source locale to the given destination locale in this XML document.
  • addLocale,
  • copyLocale,
  • correctXmlStructure,
  • getEncoding,
  • getLocaleNode,
  • initDocument,
  • removeLocale,
  • setAutoCorrectionEnabled,
  • toString,
  • visitAllValuesWith

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • compareTo (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now