Package javax.xml.bind.annotation

Examples of javax.xml.bind.annotation.XmlID


      accessor.getAnnotation(XmlElement.class);
    XmlElementRef xmlElementRef =
      accessor.getAnnotation(XmlElementRef.class);
    XmlElements xmlElements =
      accessor.getAnnotation(XmlElements.class);
    XmlID xmlID =
      accessor.getAnnotation(XmlID.class);
    XmlIDREF xmlIDREF =
      accessor.getAnnotation(XmlIDREF.class);
    XmlValue xmlValue =
      accessor.getAnnotation(XmlValue.class);
View Full Code Here


    if (attribute.required() ||
        (_generateRICompatibleSchema && _accessor.getType().isPrimitive()))
      out.writeAttribute("use", "required");

    XmlID xmlID = _accessor.getAnnotation(XmlID.class);

    if (xmlID != null)
      out.writeAttribute("type", "xsd:ID"); // jaxb/22d0
    else {
      String type =
View Full Code Here

      accessor.getAnnotation(XmlElement.class);
    XmlElementRef xmlElementRef =
      accessor.getAnnotation(XmlElementRef.class);
    XmlElements xmlElements =
      accessor.getAnnotation(XmlElements.class);
    XmlID xmlID =
      accessor.getAnnotation(XmlID.class);
    XmlIDREF xmlIDREF =
      accessor.getAnnotation(XmlIDREF.class);
    XmlValue xmlValue =
      accessor.getAnnotation(XmlValue.class);
View Full Code Here

TOP

Related Classes of javax.xml.bind.annotation.XmlID

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.