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

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

Best Java code snippets using org.milyn.dtd.DTDStore$DTDObjectContainer.getAnyElements (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$DTDObjectContainergetAnyElements

Javadoc

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

Popular methods of DTDStore$DTDObjectContainer

  • <init>
  • 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.
  • getPCDataElements
    Get the list of DTD elements whose content spec is defined as being #PCDATA.

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • scheduleAtFixedRate (Timer)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • 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