Tabnine Logo
XmlNamespaces.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.effektif.workflow.api.bpmn.XmlNamespaces
constructor

Best Java code snippets using com.effektif.workflow.api.bpmn.XmlNamespaces.<init> (Showing top 3 results out of 315)

origin: com.effektif/effektif-workflow-api

public void addNamespace(String namespaceUri, String prefix) {
 if (namespaces == null) {
  namespaces = new XmlNamespaces();
 }
 if ("".equals(prefix)) {
  prefix = null;
 }
 try {
  namespaces.add(prefix, namespaceUri);
 } catch (URISyntaxException e) {
  log.error(String.format("Cannot add XML namespace for invalid URI %s: %s", namespaceUri, e.getMessage()));
 }
}

origin: effektif/effektif

public void addNamespace(String namespaceUri, String prefix) {
 if (namespaces == null) {
  namespaces = new XmlNamespaces();
 }
 if ("".equals(prefix)) {
  prefix = null;
 }
 try {
  namespaces.add(prefix, namespaceUri);
 } catch (URISyntaxException e) {
  log.error(String.format("Cannot add XML namespace for invalid URI %s: %s", namespaceUri, e.getMessage()));
 }
}

origin: effektif/effektif

@Before
public void createNamespaces() {
 namespaces = new XmlNamespaces();
}
com.effektif.workflow.api.bpmnXmlNamespaces<init>

Popular methods of XmlNamespaces

  • getPrefix
    Returns the namespace prefix for the given namespace name.
  • add
    Declares the given namespace, whose name must be a valid URI, and whose prefix may only be empty if
  • getNames
    Returns the names of all declared namespaces, including the default namespace.
  • hasNamespace
    Returns true if there is a namespace declared with the given name, which must be a well-formed URI.
  • isDefault
    Returns true if the given namespace is the default namespace, which does not have a prefix.

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • addToBackStack (FragmentTransaction)
  • setRequestProperty (URLConnection)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Notification (javax.management)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top Vim 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