Package org.apache.ws.jaxme.xs

Examples of org.apache.ws.jaxme.xs.XSAppinfo


    XsEAppinfo[] xsAppinfos = ((XsEAnnotation) getXsObject()).getAppinfos();
    appinfos = new XSAppinfo[xsAppinfos.length];
    for (int i = 0;  i < xsAppinfos.length;  i++) {
      XsEAppinfo xsAppinfo = xsAppinfos[i];
      XSAppinfo appinfo = getXSSchema().getXSObjectFactory().newXSAppinfo(this, xsAppinfo);
      appinfos[i] = appinfo;
    }
  }
View Full Code Here


    XsEAppinfo[] xsAppinfos = ((XsEAnnotation) getXsObject()).getAppinfos();
    appinfos = new XSAppinfo[xsAppinfos.length];
    for (int i = 0;  i < xsAppinfos.length;  i++) {
      XsEAppinfo xsAppinfo = xsAppinfos[i];
      XSAppinfo appinfo = getXSSchema().getXSObjectFactory().newXSAppinfo(this, xsAppinfo);
      appinfos[i] = appinfo;
    }
  }
View Full Code Here

  private static Document getAnnotationDocuments(XSElement element) {
    if (element.getAnnotations().length > 0) {
      XSAnnotation xsAnnotation = element.getAnnotations()[0];
      XSAppinfo[] xsAppinfos = xsAnnotation.getAppinfos();
      XSAppinfo xsAppinfo = xsAppinfos[0];

      for (int i = 0; i < xsAppinfo.getChilds().length; i++) {
        if (xsAppinfo.getChilds()[i] instanceof Document)
          return (Document) xsAppinfo.getChilds()[i];
      }
    }
    return null;

  }
View Full Code Here

  private static Document getAnnotationDocuments(XSElement element) {// to
    // change
    if (element.getAnnotations().length > 0) {
      XSAnnotation xsAnnotation = element.getAnnotations()[0];
      XSAppinfo[] xsAppinfos = xsAnnotation.getAppinfos();
      XSAppinfo xsAppinfo = xsAppinfos[0];
      // System.out.println(getAnnotationDocuments(xsAppinfo));

      for (int i = 0; i < xsAppinfo.getChilds().length; i++) {
        if (xsAppinfo.getChilds()[i] instanceof Document)
          return (Document) xsAppinfo.getChilds()[i];
      }
    }
    return null;

  }
View Full Code Here

TOP

Related Classes of org.apache.ws.jaxme.xs.XSAppinfo

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.