Tabnine Logo
XMLElementVerifier.subElementPresent
Code IndexAdd Tabnine to your IDE (free)

How to use
subElementPresent
method
in
org.apache.vysper.xml.fragment.XMLElementVerifier

Best Java code snippets using org.apache.vysper.xml.fragment.XMLElementVerifier.subElementPresent (Showing top 2 results out of 315)

origin: org.apache.vysper/vysper-core

protected boolean verifyInnerElementWorker(Stanza stanza, String firstInnerElement) {
  return stanza != null && stanza.getVerifier().subElementsPresentExact(1)
      && stanza.getVerifier().subElementPresent(firstInnerElement);
}
origin: org.apache.vysper/vysper-core

if (!stanza.getVerifier().subElementPresent("error")) {
  errorDescription = "stanza of type error must include an 'error' child";
if (stanza.getVerifier().subElementPresent("error")) {
  errorDescription = "stanza which is not of type error must not include an 'error' child";
org.apache.vysper.xml.fragmentXMLElementVerifiersubElementPresent

Popular methods of XMLElementVerifier

  • attributePresent
  • namespacePresent
  • <init>
  • allAttributesPresent
    Checks whether all given attributes are present on the element.
  • attributeEquals
  • isNamespaceAttribute
  • onlySubelementEquals
  • subElementsPresentAtLeast
  • subElementsPresentAtMost
  • subElementsPresentExact

Popular in Java

  • Creating JSON documents from java classes using gson
  • setScale (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JTable (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • 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