Java XML QName isWildcardType(QName type)

Here you can find the source of isWildcardType(QName type)

Description

is Wildcard Type

License

Apache License

Declaration

private static boolean isWildcardType(QName type) 

Method Source Code

//package com.java2s;
/*/*from  w  ww.  j ava2 s .  c  om*/
 * Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors.
 *
 * 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
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,  
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import javax.xml.namespace.QName;

public class Main {
    private static boolean isWildcardType(QName type) {
        return type.toString().equals("*");
    }
}

Related

  1. isSameNamespace(QName q1, QName q2)
  2. isSameNamespaceAndDifferentPrefix(QName qName, Element element)
  3. isTagName(Element element, QName name)
  4. isType(Map> types, QName name, QName attributeName)
  5. isValidQName(String localPart)
  6. marshal(T value, Class elementClass, String packageName, QName q_name, OutputStream oStream)
  7. marshallJAXBElement(Class declaredType, QName name, Class scope, BoundType v)
  8. marshalToString(T obj, Class clazz, QName qname)
  9. match(XMLStreamReader reader, QName name)