Examples of QualifiedName


Examples of org.eclipse.xtext.naming.QualifiedName

    final String crossRefString = getCrossRefNodeAsString(node);
    if (crossRefString != null && !crossRefString.equals("")) {
      linkNode = node;
      final IScope scope = getScope(context, ref);
      linkNode = null;
      QualifiedName qualifiedLinkName =  qualifiedNameConverter.toQualifiedName(crossRefString);
      IEObjectDescription eObjectDescription = scope.getSingleElement(qualifiedLinkName);
      if (eObjectDescription != null)
        return Collections.singletonList(eObjectDescription.getEObjectOrProxy());
    }
    return Collections.emptyList();

Examples of org.exoplatform.web.controller.QualifiedName

               builder.litteral(path, previous, start.get(i));
               chunks.add(path.substring(previous, start.get(i)));
               String parameterName = path.substring(start.get(i) + 1, end.get(i));

               //
               QualifiedName parameterQName = QualifiedName.parse(parameterName);

               // Now get path param metadata
               PathParamDescriptor parameterDescriptor = pathParamDescriptors.get(parameterQName);

               //

Examples of org.jitterbit.xml.QualifiedName

    }

    private boolean isCorrectExtension(Element e) {
        String base = e.getAttribute("base");
        if (StringUtils.isNotBlank(base)) {
            QualifiedName qname = qname(base);
            String uri = e.lookupNamespaceURI(qname.getPrefix());
            ExpandedName expName = nameFactory.newExpandedName(uri, qname.getLocalName());
            return expName.equals(baseType);
        }
        return false;
    }

Examples of org.opcfoundation.ua.builtintypes.QualifiedName

                '}';
    }

    public static NodeAttributes fromGenerated(GeneratedUANode gNode, NodeClass nodeClass) {
        NodeId nodeId = NodeId.parseNodeId(gNode.getNodeId());
        QualifiedName browseName = QualifiedName.parseQualifiedName(gNode.getBrowseName());

        LocalizedText displayName = gNode.getDisplayName().stream()
                .findFirst()
                .map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
                .orElse(LocalizedText.english(browseName.getName()));

        Optional<LocalizedText> description = gNode.getDescription().stream()
                .findFirst()
                .map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
                .map(localizedText -> Optional.of(localizedText))

Examples of org.openquark.cal.compiler.QualifiedName

            for (int i = 0; i < nParentClasses; i++) {
                if (i > 0) {
                    currentPage.addText(CALFragments.COMMA_AND_SPACE);
                }
               
                QualifiedName parentClassName = typeClass.getNthParentClass(i).getName();
               
                if (shouldGenerateHyperlinks) {
                    generateTypeClassReference(parentClassName);
                } else {
                    currentPage.addText(getAppropriatelyQualifiedName(parentClassName.getModuleName(), parentClassName.getUnqualifiedName()));
                }
               
                currentPage.addText("&nbsp;" + CALFragments.STANDARD_TYPE_VAR);
            }
           

Examples of org.qi4j.api.common.QualifiedName

        {
            newEntityState.setAssociationValue( fromAssociationEntry.getKey(), fromAssociationEntry.getValue() );
        }
        for( Map.Entry<QualifiedName, ManyAssociationState> fromManyAssociationEntry : manyAssociations.entrySet() )
        {
            QualifiedName qName = fromManyAssociationEntry.getKey();
            ManyAssociationState fromManyAssoc = fromManyAssociationEntry.getValue();
            ManyAssociationState toManyAssoc = newEntityState.manyAssociationValueOf( qName );
            for( EntityReference entityReference : fromManyAssoc )
            {
                toManyAssoc.add( 0, entityReference );
            }
        }
        for( Map.Entry<QualifiedName, NamedAssociationState> fromNamedAssociationEntry : namedAssociations.entrySet() )
        {
            QualifiedName qName = fromNamedAssociationEntry.getKey();
            NamedAssociationState fromNamedAssoc = fromNamedAssociationEntry.getValue();
            NamedAssociationState toNamedAssoc = newEntityState.namedAssociationValueOf( qName );
            for( String name : fromNamedAssoc )
            {
                toNamedAssoc.put( name, fromNamedAssoc.get( name ) );

Examples of org.rascalmpl.ast.QualifiedName

    }

    @Override
    public Type typeOf(Environment env, boolean instantiateTypeParameters, IEvaluator<Result<IValue>> eval) {
      Type adt;
      QualifiedName sort = this.getSort();
      String name = org.rascalmpl.interpreter.utils.Names.typeName(sort);

      if (org.rascalmpl.interpreter.utils.Names.isQualified(sort)) {
        GlobalEnvironment heap = env.getHeap();
        ModuleEnvironment mod = heap

Examples of org.rstudio.studio.client.workbench.views.console.shell.assist.CompletionRequester.QualifiedName

            }
            else if (keycode == KeyCodes.KEY_TAB
                  || keycode == KeyCodes.KEY_ENTER
                  || keycode == KeyCodes.KEY_RIGHT)
            {
               QualifiedName value = popup_.getSelectedValue() ;
               if (value != null)
               {
                  context_.onSelection(value) ;
                  return true ;
               }

Examples of xbird.xquery.misc.QNameTable.QualifiedName

        parentStack.pop();
        return op;
    }

    public XQExpression visit(Variable variable, XQueryContext ctxt) throws XQueryException {
        final QualifiedName varname = variable.getVarName();
        if(!visitedVarNames.contains(varname)) {
            visitedVarNames.add(varname);
            final String node = "#" + counter + " Variable";
            addRootNode(node, variable);
            parentStack.push(node);

Examples of xbird.xquery.misc.QNameTable.QualifiedName

            final byte nodekind = nodetype.getNodeKind();
            switch(nodekind) {
                case NodeKind.ELEMENT:
                case NodeKind.ATTRIBUTE:
                case NodeKind.DOCUMENT:
                    QualifiedName qname = nodetype.getNodeName();
                    return QualifiedName.toJavaxQName(qname);
                default:
                    break;
            }
        }
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.