Java XML QName Get getQName(String localpart)

Here you can find the source of getQName(String localpart)

Description

get Q Name

License

Open Source License

Declaration

private static QName getQName(String localpart) 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2006-2010 eBay Inc. All Rights Reserved.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *******************************************************************************/

import javax.xml.namespace.QName;

public class Main {
    public static final String XSD_NAMESPACE = "http://www.w3.org/2001/XMLSchema";

    private static QName getQName(String localpart) {
        return new QName(XSD_NAMESPACE, localpart);
    }/*from w ww  .j a v a  2s .co  m*/
}

Related

  1. getQName(Node node)
  2. getQName(Node node)
  3. getQName(QName qname)
  4. getQName(String configFilename, String serviceName, String namespaceURI, String tagName)
  5. getQName(String localName, String namespaceUri, String prefix)
  6. getQName(String namespaceURI, String localPart)
  7. getQName(String qname)
  8. getQName(String text, String defaultNamespace, NamespaceContext context)
  9. getQName(String value, Node node)