Package org.apache.wsif.schema

Examples of org.apache.wsif.schema.ElementType


      QName partQN = p.getElementName();
    if (partQN == null) {
      throw new WSIFException("part has no QName");
    }
     
    ElementType et = null;
    for (int i=0; i<l.size() && et==null; i++ ){
      Object o = l.get(i);
      if ( o instanceof ElementType ) {
                QName etQN = ((ElementType)o).getTypeName();
        if ( partQN.equals(etQN) ){
          et = (ElementType)o;
        }
      }
    }
    if (et == null) {
      throw new WSIFException("no ElementType found for part: " + p);
    }

    List children = et.getChildren();
    if (children == null || l.size()<1) {
      throw new WSIFException("no ComplexType children on elementType: " + et);
    }
   
    ComplexType ct = (ComplexType) children.get(0);
View Full Code Here

TOP

Related Classes of org.apache.wsif.schema.ElementType

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.