public class Bpmn20NamespaceContext extends Object implements NamespaceContext
NamespaceContext
containing the namespaces used by BPMN 2.0 XML documents.
Can be used in XPath.setNamespaceContext(NamespaceContext)
.Modifier and Type | Field and Description |
---|---|
static String |
BPMN |
static String |
BPMNDI |
protected Map<String,String> |
namespaceUris
This is a protected filed so you can extend that context with your own namespaces if necessary
|
static String |
OMGDC |
static String |
OMGDI |
Constructor and Description |
---|
Bpmn20NamespaceContext() |
Modifier and Type | Method and Description |
---|---|
String |
getNamespaceURI(String prefix) |
String |
getPrefix(String namespaceURI) |
Iterator<String> |
getPrefixes(String namespaceURI) |
public static final String BPMN
public static final String BPMNDI
public static final String OMGDC
public static final String OMGDI
public String getNamespaceURI(String prefix)
getNamespaceURI
in interface NamespaceContext
public String getPrefix(String namespaceURI)
getPrefix
in interface NamespaceContext
public Iterator<String> getPrefixes(String namespaceURI)
getPrefixes
in interface NamespaceContext
Copyright © 2021. All rights reserved.