Class Bpmn20NamespaceContext
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.diagram.Bpmn20NamespaceContext
-
- All Implemented Interfaces:
javax.xml.namespace.NamespaceContext
public class Bpmn20NamespaceContext extends java.lang.Object implements javax.xml.namespace.NamespaceContext
XMLNamespaceContext
containing the namespaces used by BPMN 2.0 XML documents. Can be used inXPath.setNamespaceContext(NamespaceContext)
.- Author:
- Falko Menge
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BPMN
static java.lang.String
BPMNDI
protected java.util.Map<java.lang.String,java.lang.String>
namespaceUris
This is a protected filed so you can extend that context with your own namespaces if necessarystatic java.lang.String
OMGDC
static java.lang.String
OMGDI
-
Constructor Summary
Constructors Constructor Description Bpmn20NamespaceContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getNamespaceURI(java.lang.String prefix)
java.lang.String
getPrefix(java.lang.String namespaceURI)
java.util.Iterator<java.lang.String>
getPrefixes(java.lang.String namespaceURI)
-
-
-
Field Detail
-
BPMN
public static final java.lang.String BPMN
- See Also:
- Constant Field Values
-
BPMNDI
public static final java.lang.String BPMNDI
- See Also:
- Constant Field Values
-
OMGDC
public static final java.lang.String OMGDC
- See Also:
- Constant Field Values
-
OMGDI
public static final java.lang.String OMGDI
- See Also:
- Constant Field Values
-
namespaceUris
protected java.util.Map<java.lang.String,java.lang.String> namespaceUris
This is a protected filed so you can extend that context with your own namespaces if necessary
-
-
Method Detail
-
getNamespaceURI
public java.lang.String getNamespaceURI(java.lang.String prefix)
- Specified by:
getNamespaceURI
in interfacejavax.xml.namespace.NamespaceContext
-
getPrefix
public java.lang.String getPrefix(java.lang.String namespaceURI)
- Specified by:
getPrefix
in interfacejavax.xml.namespace.NamespaceContext
-
getPrefixes
public java.util.Iterator<java.lang.String> getPrefixes(java.lang.String namespaceURI)
- Specified by:
getPrefixes
in interfacejavax.xml.namespace.NamespaceContext
-
-