Package com.caucho.jaxb.property

Examples of com.caucho.jaxb.property.MultiProperty


      if (! property.isXmlPrimitiveType())
        _context.createSkeleton(element.type());
    }

    _property = new MultiProperty(qnameToPropertyMap, classToPropertyMap);

    if (List.class.isAssignableFrom(accessor.getType()))
      _property = new ListProperty(_property);

    else if (accessor.getType().isArray()) {
View Full Code Here


    out.writeAttribute("minOccurs", "0");

    if (_property.getMaxOccurs() != null)
      out.writeAttribute("maxOccurs", _property.getMaxOccurs());

    MultiProperty multiProperty = null;

    if (_property instanceof ListProperty) {
      ListProperty listProperty = (ListProperty) _property;
      multiProperty = (MultiProperty) listProperty.getComponentProperty();
    }
    else
      multiProperty = (MultiProperty) _property;

    Collection<Property> properties = multiProperty.getProperties();

    XmlElements xmlElements = _accessor.getAnnotation(XmlElements.class);
    XmlElement[] elements = xmlElements.value();

    int i = 0;
View Full Code Here

      qnameToPropertyMap.put(qname, property);
      classToPropertyMap.put(skeleton.getType(), property);
    }

    _property = new MultiProperty(qnameToPropertyMap, classToPropertyMap);

    if (List.class.isAssignableFrom(_accessor.getType()))
      _property = new ListProperty(_property);

    else if (_accessor.getType().isArray()) {
View Full Code Here

      qnameToPropertyMap.put(qname, property);
      classToPropertyMap.put(skeleton.getType(), property);
    }

    _property = new MultiProperty(qnameToPropertyMap, classToPropertyMap);

    if (List.class.isAssignableFrom(_accessor.getType()))
      _property = new ListProperty(_property);

    else if (_accessor.getType().isArray()) {
View Full Code Here

      if (! property.isXmlPrimitiveType())
        _context.createSkeleton(element.type());
    }

    _property = new MultiProperty(qnameToPropertyMap, classToPropertyMap);

    if (List.class.isAssignableFrom(accessor.getType()))
      _property = new ListProperty(_property);

    else if (accessor.getType().isArray()) {
View Full Code Here

    out.writeAttribute("minOccurs", "0");

    if (_property.getMaxOccurs() != null)
      out.writeAttribute("maxOccurs", _property.getMaxOccurs());

    MultiProperty multiProperty = null;

    if (_property instanceof ListProperty) {
      ListProperty listProperty = (ListProperty) _property;
      multiProperty = (MultiProperty) listProperty.getComponentProperty();
    }
    else
      multiProperty = (MultiProperty) _property;

    Collection<Property> properties = multiProperty.getProperties();

    XmlElements xmlElements = _accessor.getAnnotation(XmlElements.class);
    XmlElement[] elements = xmlElements.value();

    int i = 0;
View Full Code Here

TOP

Related Classes of com.caucho.jaxb.property.MultiProperty

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.