git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Id is now a string.
[utils]
/
support
/
general
/
src
/
main
/
java
/
org
/
wamblee
/
xml
/
SimpleNamespaceContext.java
diff --git
a/support/general/src/main/java/org/wamblee/xml/SimpleNamespaceContext.java
b/support/general/src/main/java/org/wamblee/xml/SimpleNamespaceContext.java
index 7e8092a980b7f2197564b4455b61dcc5bbb10d39..85efeb0845f0f933f1e7ea11fcd8aa9c3e424e8f 100644
(file)
--- a/
support/general/src/main/java/org/wamblee/xml/SimpleNamespaceContext.java
+++ b/
support/general/src/main/java/org/wamblee/xml/SimpleNamespaceContext.java
@@
-48,6
+48,14
@@
public class SimpleNamespaceContext implements NamespaceContext {
defaultNs = null;
prefixMap = new HashMap<String, String>();
}
defaultNs = null;
prefixMap = new HashMap<String, String>();
}
+
+ /**
+ * Creation of the namespace context for use with static imports.
+ * @return Empty namespace context.
+ */
+ public static SimpleNamespaceContext namespaces() {
+ return new SimpleNamespaceContext();
+ }
/**
* Constructs a context with a single prefix.
/**
* Constructs a context with a single prefix.