congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
XmlElement.getText
Code IndexAdd Tabnine to your IDE (free)

How to use
getText
method
in
com.effektif.workflow.api.bpmn.XmlElement

Best Java code snippets using com.effektif.workflow.api.bpmn.XmlElement.getText (Showing top 4 results out of 315)

origin: effektif/effektif

/** Returns the contents of the BPMN <code>documentation</code> element. */
@Override
public String readDocumentation() {
 if (currentXml==null) {
  return null;
 }
 XmlElement documentationElement = currentXml.removeElement(BPMN_URI, "documentation");
 if (documentationElement!=null) {
  return documentationElement.getText();
 }
 return null;
}
origin: effektif/effektif

private String readText(String namespaceUri, String localPart) {
 XmlElement textElement = currentXml!=null ? currentXml.removeElement(namespaceUri, localPart) : null;
 if (textElement!=null) {
  return textElement.getText();
 }
 return null;
}
origin: com.effektif/effektif-workflow-api

@Override
public void readBpmn(BpmnReader r) {
 boundaryId = r.readStringAttributeBpmn("id");
 fromId = r.readStringAttributeBpmn("attachedToRef");
 for (XmlElement outgoingElement : r.readElementsBpmn("outgoing")) {
  r.startElement(outgoingElement);
  toTransitionIds.add(outgoingElement.getText());
  r.endElement();
 }
 r.readElementsBpmn("boundaryEvent");
}
origin: effektif/effektif

@Override
public void readBpmn(BpmnReader r) {
 boundaryId = r.readStringAttributeBpmn("id");
 fromId = r.readStringAttributeBpmn("attachedToRef");
 for (XmlElement outgoingElement : r.readElementsBpmn("outgoing")) {
  r.startElement(outgoingElement);
  toTransitionIds.add(outgoingElement.getText());
  r.endElement();
 }
 r.readElementsBpmn("boundaryEvent");
}
com.effektif.workflow.api.bpmnXmlElementgetText

Popular methods of XmlElement

  • <init>
  • addElement
  • cleanEmptyElements
    Simplifies the BPMN XML by empty collections of attributes, child elements and extension elements.
  • setName
  • createElement
  • getElement
    Returns the first element with the given name, or null if there isn’t one.
  • getElements
  • getOrCreateChildElement
    Returns either the first element with the given name, or the result of adding a new element if there
  • is
  • removeElement
  • setElementParents
    Recursively fixes parent relationships, which are unset after deserialisation, such as when unparsed
  • addAttribute
  • setElementParents,
  • addAttribute,
  • addCDataText,
  • addNamespace,
  • addText,
  • clearName,
  • escapeAttributeValue,
  • escapeTextNode,
  • escapeXml

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • getSystemService (Context)
  • getExternalFilesDir (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Path (java.nio.file)
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • BoxLayout (javax.swing)
  • Top PhpStorm 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