Codota Logo
DTDStore$DTDObjectContainer.getMixedElements
Code IndexAdd Codota to your IDE (free)

How to use
getMixedElements
method
in
org.milyn.dtd.DTDStore$DTDObjectContainer

Best Java code snippets using org.milyn.dtd.DTDStore$DTDObjectContainer.getMixedElements (Showing top 4 results out of 315)

  • Common ways to obtain DTDStore$DTDObjectContainer
private void myMethod () {
DTDStore$DTDObjectContainer d =
  • Codota IconExecutionContext executionContext;executionContext.getDeliveryConfig().getDTD()
  • Codota IconProfileSet profileSet;DTDStore.getDTDObject(profileSet)
  • Codota IconDTDStore dTDStore;ProfileSet profileSet;new DTDObjectContainer(dTDStore.getDTD(profileSet))
  • Smart code suggestions by Codota
}
origin: smooks/smooks

/**
 * Get the DTD elements for specific device context.
 * @param string DTD spec string e.g. "elcspec:empty"
 * @return List of element names.
 */
private String[] getDTDElements(String string) {
  String tmpString = string;
  if(tmpString.startsWith(ELCSPEC_PREFIX)) {
    tmpString = tmpString.substring(ELCSPEC_PREFIX.length());
    if(tmpString.equals("empty")) {
      return dtd.getEmptyElements();
    } else if(tmpString.equals("not-empty")) {
      return dtd.getNonEmptyElements();
    } else if(tmpString.equals("any")) {
      return dtd.getAnyElements();
    } else if(tmpString.equals("not-any")) {
      return dtd.getNonAnyElements();
    } else if(tmpString.equals("mixed")) {
      return dtd.getMixedElements();
    } else if(tmpString.equals("not-mixed")) {
      return dtd.getNonMixedElements();
    } else if(tmpString.equals("pcdata")) {
      return dtd.getPCDataElements();
    } else if(tmpString.equals("not-pcdata")) {
      return dtd.getNonPCDataElements();
    }
  }
  throw new IllegalStateException("Unsupported DTD spec definition [" + string + "]");
}
origin: org.milyn/milyn-smooks-core

/**
 * Get the DTD elements for specific device context.
 * @param string DTD spec string e.g. "elcspec:empty"
 * @return List of element names.
 */
private String[] getDTDElements(String string) {
  String tmpString = string;
  if(tmpString.startsWith(ELCSPEC_PREFIX)) {
    tmpString = tmpString.substring(ELCSPEC_PREFIX.length());
    if(tmpString.equals("empty")) {
      return dtd.getEmptyElements();
    } else if(tmpString.equals("not-empty")) {
      return dtd.getNonEmptyElements();
    } else if(tmpString.equals("any")) {
      return dtd.getAnyElements();
    } else if(tmpString.equals("not-any")) {
      return dtd.getNonAnyElements();
    } else if(tmpString.equals("mixed")) {
      return dtd.getMixedElements();
    } else if(tmpString.equals("not-mixed")) {
      return dtd.getNonMixedElements();
    } else if(tmpString.equals("pcdata")) {
      return dtd.getPCDataElements();
    } else if(tmpString.equals("not-pcdata")) {
      return dtd.getNonPCDataElements();
    }
  }
  throw new IllegalStateException("Unsupported DTD spec definition [" + string + "]");
}
origin: org.milyn/milyn-smooks-all

/**
 * Get the DTD elements for specific device context.
 * @param string DTD spec string e.g. "elcspec:empty"
 * @return List of element names.
 */
private String[] getDTDElements(String string) {
  String tmpString = string;
  if(tmpString.startsWith(ELCSPEC_PREFIX)) {
    tmpString = tmpString.substring(ELCSPEC_PREFIX.length());
    if(tmpString.equals("empty")) {
      return dtd.getEmptyElements();
    } else if(tmpString.equals("not-empty")) {
      return dtd.getNonEmptyElements();
    } else if(tmpString.equals("any")) {
      return dtd.getAnyElements();
    } else if(tmpString.equals("not-any")) {
      return dtd.getNonAnyElements();
    } else if(tmpString.equals("mixed")) {
      return dtd.getMixedElements();
    } else if(tmpString.equals("not-mixed")) {
      return dtd.getNonMixedElements();
    } else if(tmpString.equals("pcdata")) {
      return dtd.getPCDataElements();
    } else if(tmpString.equals("not-pcdata")) {
      return dtd.getNonPCDataElements();
    }
  }
  throw new IllegalStateException("Unsupported DTD spec definition [" + string + "]");
}
origin: org.virtuslab/milyn-smooks-core

/**
 * Get the DTD elements for specific device context.
 * @param string DTD spec string e.g. "elcspec:empty"
 * @return List of element names.
 */
private String[] getDTDElements(String string) {
  String tmpString = string;
  if(tmpString.startsWith(ELCSPEC_PREFIX)) {
    tmpString = tmpString.substring(ELCSPEC_PREFIX.length());
    if(tmpString.equals("empty")) {
      return dtd.getEmptyElements();
    } else if(tmpString.equals("not-empty")) {
      return dtd.getNonEmptyElements();
    } else if(tmpString.equals("any")) {
      return dtd.getAnyElements();
    } else if(tmpString.equals("not-any")) {
      return dtd.getNonAnyElements();
    } else if(tmpString.equals("mixed")) {
      return dtd.getMixedElements();
    } else if(tmpString.equals("not-mixed")) {
      return dtd.getNonMixedElements();
    } else if(tmpString.equals("pcdata")) {
      return dtd.getPCDataElements();
    } else if(tmpString.equals("not-pcdata")) {
      return dtd.getNonPCDataElements();
    }
  }
  throw new IllegalStateException("Unsupported DTD spec definition [" + string + "]");
}
org.milyn.dtdDTDStore$DTDObjectContainergetMixedElements

Javadoc

Get the list of DTD elements whose content spec is defined as being MIXED.

Popular methods of DTDStore$DTDObjectContainer

  • <init>
  • getAnyElements
    Get the list of DTD elements whose content spec is defined as being ANY.
  • getElement
    Get the DTDElement for the named element.
  • getElements
    Get the DTD elements whose content spec is represented in the DTD DOM by the specified runtime class
  • getEmptyElements
    Get the list of DTD elements whose content spec is defined as being EMPTY.
  • getNonAnyElements
    Get the list of DTD elements whose content spec is not defined as being ANY.
  • getNonEmptyElements
    Get the list of DTD elements whose content spec is not defined as being EMPTY.
  • getNonMixedElements
    Get the list of DTD elements whose content spec is not defined as being MIXED.
  • getNonPCDataElements
    Get the list of DTD elements whose content spec is defined as being #PCDATA.
  • getPCDataElements
    Get the list of DTD elements whose content spec is defined as being #PCDATA.

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
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