Examples of TypeInfo


Examples of org.apache.tuscany.sca.interfacedef.util.TypeInfo

        }
        XmlSchemaType baseType = (XmlSchemaType)type.getBaseSchemaType();
        QName name = type.getQName();
        boolean simple = (type instanceof XmlSchemaSimpleType);
        if (baseType == null) {
            return new TypeInfo(name, simple, null);
        } else {
            return new TypeInfo(name, simple, getTypeInfo(baseType));
        }
    }
View Full Code Here

Examples of org.apache.tuscany.spi.idl.TypeInfo

    }

    public T transform(Object source, TransformationContext context) {
        ElementInfo element =
                (ElementInfo) context.getTargetDataType().getMetadata(ElementInfo.class.getName());
        TypeInfo simpleType = (TypeInfo) element.getType();
        String text = mapper.toXMLLiteral(simpleType, source, context);
        return createElement(element, text, context);
    }
View Full Code Here

Examples of org.apache.uima.cas.impl.TypeSystemImpl.TypeInfo

      // The strategy for deserializing heap refs depends on finding
      // the prev value for that type.  This must be done in the context
      // of the sending CAS's type system
   
      // typeInfo is Target Type Info
      final TypeInfo tgtTypeInfo = isTypeMapping ? tgtTs.getTypeInfo(tgtTypeCode) :
                                 ts.getTypeInfo(srcTypeCode);
      final TypeInfo srcTypeInfo =
        (!isTypeMapping) ? tgtTypeInfo :
        storeIt ?       ts.getTypeInfo(srcTypeCode) :
                        null;
      if (storeIt) {
        typeInfo = tgtTypeInfo;
View Full Code Here

Examples of org.castor.ddlgen.typeinfo.TypeInfo

            if ((sqlnames != null) && (sqlnames.length > 0)
                    && (fm.getSql().getManyTable() == null)) {
                // Normal case, using sql name as column name.
                String sqltype = fm.getSql().getType();

                TypeInfo typeInfo = null;
                ClassMapping cmRef = null;
                String[] refIdTypes = null;
                boolean isUseReferenceType = false;

                // Get type info.
View Full Code Here

Examples of org.eclim.plugin.jdt.util.TypeInfo

  private List<HierarchyNode> createChildNodes(IType type)
    throws Exception
  {
    ArrayList<HierarchyNode> nodes = new ArrayList<HierarchyNode>();

    TypeInfo parentClassInfo = TypeUtils.getSuperClass(type);
    String jlo = "java.lang.Object";
    if (parentClassInfo != null){
      IType parentClass = parentClassInfo.getType();
      if(!jlo.equals(JavaUtils.getFullyQualifiedName(parentClass))){
        nodes.add(new HierarchyNode(parentClass, createChildNodes(parentClass)));
      }
    }
View Full Code Here

Examples of org.eclipse.dltk.compiler.IElementRequestor.TypeInfo

    typeInfo.superclasses = DeeSourceElementProvider.EMPTY_STRING;
    return typeInfo;
  }
 
  protected static TypeInfo createTypeInfoForDefinition(CommonDefinition node, int archetypeMask) {
    TypeInfo typeInfo = createTypeInfoForDefUnit(node, archetypeMask);
    setupDefinitionTypeInfo(node, typeInfo);
    return typeInfo;
  }
View Full Code Here

Examples of org.eclipse.jst.jsf.common.runtime.internal.model.types.TypeInfo

        final TagIdentifier tagId = TagIdentifierFactory
                                            .createTLDTagWrapper(elementDecl);
        //        final DefaultTagTypeInfo defaultTagTypeInfo = new DefaultTagTypeInfo();
        final TagMapping mapping =  _loader.getTagToViewMapping(tagId);

        TypeInfo elementType = null;
        if (mapping != null)
        {
            elementType = findTypeInfo(mapping, "1.1", null); //$NON-NLS-1$
        }
View Full Code Here

Examples of org.exolab.castor.mapping.loader.TypeInfo

    } //-- setLoadPackageMappings


    protected TypeInfo getTypeInfo( Class fieldType, CollectionHandler colHandler, FieldMapping fieldMap )
    throws MappingException {
        return new TypeInfo(fieldType, null, null, fieldMap.getRequired(), null, colHandler, false);
    }
View Full Code Here

Examples of org.gatein.pc.api.info.TypeInfo

            QName name = event.getName();
            EventInfo eventInfo = new WSRPEventInfo(
               name,
               WSRPUtils.convertToCommonLocalizedStringOrNull(event.getLabel()),
               WSRPUtils.convertToCommonLocalizedStringOrNull(event.getDescription()),
               new TypeInfo()
               {
                  public String getName()
                  {
                     return event.getType().toString();
                  }
View Full Code Here

Examples of org.jboss.reflect.spi.TypeInfo

      return result;
   }

   public TypeInfo getTypeInfo(Class clazz)
   {
      TypeInfo primitive = PrimitiveInfo.valueOf(clazz.getName());
      if (primitive != null)
         return primitive;
     
      return (TypeInfo) get(clazz);
   }
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.