Java XML QName hasAnnotatedQname(Object obj)

Here you can find the source of hasAnnotatedQname(Object obj)

Description

has Annotated Qname

License

Apache License

Declaration

public static boolean hasAnnotatedQname(Object obj) 

Method Source Code

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

import javax.xml.bind.annotation.XmlType;

public class Main {
    public static boolean hasAnnotatedQname(Object obj) {
        return (obj.getClass().getAnnotation(XmlType.class) != null);
    }/*from  w w  w .  j  a  va  2  s.com*/
}

Related

  1. getXmlElementRefOrElementQName(Class jaxbClass, Field field)
  2. getXmlQName(final NamespaceContext context, final String value)
  3. getXmlRootElementQName(Class clazz)
  4. getXMLValue(String xml, String xQuery, QName resultType)
  5. getXSTypeAsString(QName qname)
  6. hasChildElement(QName qName, Element element)
  7. hasGmlNamespace(QName qname)
  8. hasQName(final Node e, final QName name)
  9. hasQName(Node node, QName qname)