public abstract class SimpleNamespaceContext
extends java.lang.Object
Constructor and Description |
---|
SimpleNamespaceContext() |
Modifier and Type | Method and Description |
---|---|
static javax.xml.namespace.NamespaceContext |
create(KeyValuePairSet set)
Create a NamespaceContext based on the supplied key value pairs.
|
static javax.xml.namespace.NamespaceContext |
create(KeyValuePairSet set,
AdaptrisMessage msg)
Create a NamespaceContext based on the supplied key value pairs or object metadata.
|
public static javax.xml.namespace.NamespaceContext create(KeyValuePairSet set)
For our purposes; each element of the KeyValuePairSet.
set
- the key values that will form the namespace context.public static javax.xml.namespace.NamespaceContext create(KeyValuePairSet set, AdaptrisMessage msg)
In this instance, the NamespaceContext
that may be present in the AdaptrisMessage
will only be used if no
context was created from the supplied KeyValuePairSet
.
set
- the values that will form the namespace contextmsg
- the AdaptrisMessage
which might contain the object metadata.NamespaceContext
implementation or null if none was available.create(KeyValuePairSet)