Package org.apache.axis.description

Examples of org.apache.axis.description.TypeDesc


            Element extension = types.createElement("extension");
            complexContent.appendChild(extension);
            extension.setAttribute("base", base);
            e = extension;
            // Get the property descriptors for the super class
            TypeDesc superTypeDesc = TypeDesc.getTypeDescForClass(superClass);
            if (superTypeDesc != null) {
                superPd = superTypeDesc.getPropertyDescriptors();
            } else {
                superPd = MetaBeanUtils.getPd(superClass, null);
            }
        } else {
            e = complexType;
View Full Code Here


    public FieldDesc[] getFields() {
        return fields;
    }

    public TypeDesc buildTypeDesc() {
        TypeDesc typeDesc = new TypeDesc(clazz, canSearchParents);
        typeDesc.setXmlType(qName);
        typeDesc.setFields(fields);
        return typeDesc;
    }
View Full Code Here

    public FieldDesc[] getFields() {
        return fields;
    }

    public TypeDesc buildTypeDesc() {
        TypeDesc typeDesc = new TypeDesc(clazz, canSearchParents);
        typeDesc.setXmlType(qName);
        typeDesc.setFields(fields);
        return typeDesc;
    }
View Full Code Here

    public FieldDesc[] getFields() {
        return fields;
    }

    public TypeDesc buildTypeDesc() {
        TypeDesc typeDesc = new TypeDesc(clazz, canSearchParents);
        typeDesc.setXmlType(qName);
        typeDesc.setFields(fields);
        return typeDesc;
    }
View Full Code Here

            Element extension = types.createElement("extension");
            complexContent.appendChild(extension);
            extension.setAttribute("base", base);
            e = extension;
            // Get the property descriptors for the super class
            TypeDesc superTypeDesc = TypeDesc.getTypeDescForClass(superClass);
            if (superTypeDesc != null) {
                superPd = typeDesc.getPropertyDescriptors();
            } else {
                superPd = BeanUtils.getPd(superClass, null);
            }
View Full Code Here

            Element extension = types.createElement("extension");
            complexContent.appendChild(extension);
            extension.setAttribute("base", base);
            e = extension;
            // Get the property descriptors for the super class
            TypeDesc superTypeDesc = TypeDesc.getTypeDescForClass(superClass);
            if (superTypeDesc != null) {
                superPd = typeDesc.getPropertyDescriptors();
            } else {
                superPd = BeanUtils.getPd(superClass, null);
            }
View Full Code Here

            Element extension = types.createElement("extension");
            complexContent.appendChild(extension);
            extension.setAttribute("base", base);
            e = extension;
            // Get the property descriptors for the super class
            TypeDesc superTypeDesc = TypeDesc.getTypeDescForClass(superClass);
            if (superTypeDesc != null) {
                superPd = typeDesc.getPropertyDescriptors();
            } else {
                superPd = BeanUtils.getPd(superClass, null);
            }
View Full Code Here

      if ( !( element instanceof MessageElement ) )
      {
         throw new IllegalArgumentException(  );
      }

      TypeDesc desc = TypeDesc.getTypeDescForClass( javaClass );
      if ( desc == null )
      {
         return false;
      }

      QName qname = desc.getXmlType(  );
      QName type = ( (MessageElement) element ).getType(  );
      if ( type == null )
      {
         type = ( (MessageElement) element ).getQName(  );
      }
View Full Code Here

      if ( !( element instanceof MessageElement ) )
      {
         throw new IllegalArgumentException(  );
      }

      TypeDesc desc = TypeDesc.getTypeDescForClass( javaClass );
      if ( desc == null )
      {
         return false;
      }

      QName qname = desc.getXmlType(  );
      QName type = ( (MessageElement) element ).getType(  );
      if ( type == null )
      {
         type = ( (MessageElement) element ).getQName(  );
      }
View Full Code Here

    } catch (Exception e) {
System.out.println("can't replace classloader");
    }
   
    try{   
      TypeDesc desc = (TypeDesc)sourceObj.getClass().getMethod("getTypeDesc", new Class[]{}).invoke(sourceObj, new Object[]{});
      QName xmlType = desc.getXmlType();
      //
      //xmlType = (QName)extendedContext.get("qName");
      //
      xmlType = new QName("http://" + sourceObj.getClass().getName(), org.uengine.util.UEngineUtil.getClassNameOnly(sourceObj.getClass()) );
//      xmlType = new QName(Constants.URI_SOAP11_ENV, Constants.ELEM_ENVELOPE );
View Full Code Here

TOP

Related Classes of org.apache.axis.description.TypeDesc

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.