List of utility methods to do QName Create
QName | createQNameWithCustomNamespace(String key) create Q Name With Custom Namespace return new QName(CUSTOM_NAMESPACE_URI, key, CUSTOM_NAMESPACE_PREFIX); |
QName | createQNameWithDefaultNamespace(String key) create Q Name With Default Namespace return new QName(DEFAULT_NAMESPACE_URI, key, DEFAULT_NAMESPACE_PREFIX); |
Map | toQName(Map to Q Name if (setProps == null) { return Collections.emptyMap(); Map<QName, String> result = new HashMap<QName, String>( setProps.size()); for (Map.Entry<String, String> entry : setProps.entrySet()) { result.put(createQNameWithCustomNamespace(entry.getKey()), entry.getValue()); ... |
List | toQName(List to Q Name if (removeProps == null) { return Collections.emptyList(); List<QName> result = new ArrayList<QName>(removeProps.size()); for (String entry : removeProps) { result.add(createQNameWithCustomNamespace(entry)); return result; ... |