Examples of WebFaultPropertyOrder


Examples of org.codehaus.enunciate.soap.annotations.WebFaultPropertyOrder

      }

      childElements.add(new FaultBeanChildElement(property, this));
    }

    final WebFaultPropertyOrder propOrder = getAnnotation(WebFaultPropertyOrder.class);
    if (propOrder != null) {
      Set<ImplicitChildElement> resorted = new TreeSet<ImplicitChildElement>(new Comparator<ImplicitChildElement>() {
        public int compare(ImplicitChildElement o1, ImplicitChildElement o2) {
          int index1 = -1;
          int index2 = -1;
          for (int i = 0; i < propOrder.value().length; i++) {
            String prop = propOrder.value()[i];
            if (o1.getElementName().equals(prop)) {
              index1 = i;
            }
            if (o2.getElementName().equals(prop)) {
              index2 = i;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.