Tabnine Logo
DTDStore$DTDObjectContainer.getPCDataElements
Code IndexAdd Tabnine to your IDE (free)

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

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

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$DTDObjectContainergetPCDataElements

Javadoc

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

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.
  • getMixedElements
    Get the list of DTD elements whose content spec is defined as being MIXED.
  • 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.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getContentResolver (Context)
  • onRequestPermissionsResult (Fragment)
  • getApplicationContext (Context)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JFrame (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Best IntelliJ 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