Android Utililty Methods QName Create

List of utility methods to do QName Create

Description

The list of methods to do QName Create are organized into topic(s).

Method

QNamecreateQNameWithCustomNamespace(String key)
create Q Name With Custom Namespace
return new QName(CUSTOM_NAMESPACE_URI, key, CUSTOM_NAMESPACE_PREFIX);
QNamecreateQNameWithDefaultNamespace(String key)
create Q Name With Default Namespace
return new QName(DEFAULT_NAMESPACE_URI, key,
        DEFAULT_NAMESPACE_PREFIX);
MaptoQName(Map setProps)
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());
...
ListtoQName(List removeProps)
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;
...