Java XML QName Convert toURI(QName name)

Here you can find the source of toURI(QName name)

Description

to URI

License

Apache License

Declaration

static URI toURI(QName name) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.net.URI;

import javax.xml.namespace.QName;

public class Main {
    static URI toURI(QName name) {
        return URI.create(name.getNamespaceURI() + name.getLocalPart());
    }//from w  w w .  j  a v a  2s . co  m
}

Related

  1. toPid(final QName processType, final long version)
  2. toQualifiedName(final QName qname)
  3. toQualifiedName(QName qName)
  4. toString(final QName qname)
  5. toString(QName qName)