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

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

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

origin: org.opencms/opencms-solr

/**
 * Resolves the mappings for all values of this XML content.<p>
 * 
 * @param cms the current users OpenCms context
 */
public void resolveMappings(CmsObject cms) {
  // iterate through all initialized value nodes in this XML content
  CmsXmlContentMappingVisitor visitor = new CmsXmlContentMappingVisitor(cms, this);
  visitAllValuesWith(visitor);
}
origin: org.opencms/opencms-core

/**
 * Resolves the mappings for all values of this XML content.<p>
 *
 * @param cms the current users OpenCms context
 */
public void resolveMappings(CmsObject cms) {
  // iterate through all initialized value nodes in this XML content
  CmsXmlContentMappingVisitor visitor = new CmsXmlContentMappingVisitor(cms, this);
  visitAllValuesWith(visitor);
}
origin: org.opencms/opencms-core

/**
 * Returns the different xml editor widgets used in the form to display.<p>
 *
 * @return the different xml editor widgets used in the form to display
 */
public CmsXmlContentWidgetVisitor getWidgetCollector() {
  if (m_widgetCollector == null) {
    // create an instance of the widget collector
    m_widgetCollector = new CmsXmlContentWidgetVisitor(getElementLocale());
    m_content.visitAllValuesWith(m_widgetCollector);
  }
  return m_widgetCollector;
}
origin: org.opencms/opencms-solr

/**
 * @see org.opencms.xml.I_CmsXmlDocument#validate(org.opencms.file.CmsObject)
 */
public CmsXmlContentErrorHandler validate(CmsObject cms) {
  // iterate through all initialized value nodes in this XML content
  CmsXmlContentValidationVisitor visitor = new CmsXmlContentValidationVisitor(cms);
  visitAllValuesWith(visitor);
  return visitor.getErrorHandler();
}
origin: org.opencms/opencms-core

/**
 * @see org.opencms.xml.I_CmsXmlDocument#validate(org.opencms.file.CmsObject)
 */
public CmsXmlContentErrorHandler validate(CmsObject cms) {
  // iterate through all initialized value nodes in this XML content
  CmsXmlContentValidationVisitor visitor = new CmsXmlContentValidationVisitor(cms);
  visitAllValuesWith(visitor);
  return visitor.getErrorHandler();
}
origin: org.opencms/opencms-solr

/**
 * Returns the different xml editor widgets used in the form to display.<p>
 * 
 * @return the different xml editor widgets used in the form to display
 */
public CmsXmlContentWidgetVisitor getWidgetCollector() {
  if (m_widgetCollector == null) {
    // create an instance of the widget collector
    m_widgetCollector = new CmsXmlContentWidgetVisitor(getElementLocale());
    m_content.visitAllValuesWith(m_widgetCollector);
  }
  return m_widgetCollector;
}
origin: org.opencms/org.opencms.workplace

((CmsXmlContent)xmlDoc).visitAllValuesWith(visitor);
origin: org.opencms/opencms-solr

((CmsXmlContent)xmlDoc).visitAllValuesWith(visitor);
origin: org.opencms/opencms-core

resource1 = CmsXmlContentFactory.unmarshal(cms, res1);
CmsXmlContentElementPathExtractor visitor = new CmsXmlContentElementPathExtractor();
((CmsXmlContent)resource1).visitAllValuesWith(visitor);
elements1 = visitor.getElementPaths();
resource2 = CmsXmlContentFactory.unmarshal(cms, res2);
visitor = new CmsXmlContentElementPathExtractor();
((CmsXmlContent)resource2).visitAllValuesWith(visitor);
elements2 = visitor.getElementPaths();
origin: org.opencms/opencms-solr

resource1 = CmsXmlContentFactory.unmarshal(cms, res1);
CmsXmlContentElementPathExtractor visitor = new CmsXmlContentElementPathExtractor();
((CmsXmlContent)resource1).visitAllValuesWith(visitor);
elements1 = visitor.getElementPaths();
resource2 = CmsXmlContentFactory.unmarshal(cms, res2);
visitor = new CmsXmlContentElementPathExtractor();
((CmsXmlContent)resource2).visitAllValuesWith(visitor);
elements2 = visitor.getElementPaths();
origin: org.opencms/opencms-solr

content.visitAllValuesWith(widgetCollector);
Iterator<Map.Entry<String, I_CmsXmlContentValue>> itWidgets = widgetCollector.getValues().entrySet().iterator();
while (itWidgets.hasNext()) {
origin: org.opencms/opencms-core

content.visitAllValuesWith(widgetCollector);
Iterator<Map.Entry<String, I_CmsXmlContentValue>> itWidgets = widgetCollector.getValues().entrySet().iterator();
while (itWidgets.hasNext()) {
origin: org.opencms/opencms-core

visitAllValuesWith(new CmsXmlContentMacroVisitor(cms, macroResolver));
if (!hasLocale(locale)) {
origin: org.opencms/opencms-solr

visitAllValuesWith(new CmsXmlContentMacroVisitor(cms, macroResolver));
if (!hasLocale(locale)) {
org.opencms.xml.contentCmsXmlContentvisitAllValuesWith

Javadoc

Visits all values of this XML content with the given value visitor.

Please note that the order in which the values are visited may NOT be the order they appear in the XML document. It is ensured that the the parent of a nested value is visited before the element it contains.

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

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • onRequestPermissionsResult (Fragment)
  • notifyDataSetChanged (ArrayAdapter)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • BoxLayout (javax.swing)
  • JPanel (javax.swing)
  • Top Vim 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