Examples of AnyType


Examples of org.eclipse.emf.ecore.xml.type.AnyType

       * @generated
       */
      protected AnyType popAnyType()
      {
        pop();
        AnyType resultAnyTypeValue = theAnyType;
        theAnyType = null;
        return resultAnyTypeValue;
      }
View Full Code Here

Examples of org.eclipse.emf.ecore.xml.type.AnyType

   */
  protected boolean processElementExtensions(EObject object)
  {
    if (eObjectToExtensionMap != null)
    {
      AnyType anyType = eObjectToExtensionMap.get(object);
      return anyType != null && saveElementFeatureMap(anyType, XMLTypePackage.eINSTANCE.getAnyType_Mixed());
    }
    else
    {
      return false;
View Full Code Here

Examples of org.eclipse.emf.ecore.xml.type.AnyType

   */
  protected void processAttributeExtensions(EObject object)
  {
    if (eObjectToExtensionMap != null)
    {
      AnyType anyType = eObjectToExtensionMap.get(object);
      if (anyType != null)
      {
        saveAttributeFeatureMap(anyType, XMLTypePackage.eINSTANCE.getAnyType_AnyAttribute());
      }
    }
View Full Code Here

Examples of org.eclipse.emf.ecore.xml.type.AnyType

    resourceSet.getLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData);
    Map extensions = copy.getEObjectToExtensionMap();
    // create extension attribute meta object
    EStructuralFeature originalAttributeFeature = extendedMetaData.demandFeature(null, "original", false);
    // create extension attribute
    AnyType originalAttribute = XMLTypeFactory.eINSTANCE.createAnyType();
    // set extension attribute value
    originalAttribute.eSet(originalAttributeFeature, original.getURI().toString());
    // add attribute to root object
    extensions.put(copy.getContents().get(0), originalAttribute);
  }
View Full Code Here

Examples of org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType

        if (rs == null) {
           result = false;
        } else {
           if (rs.size() == 1) {
              AnyType rsReturn = rs.get(0);
              if (rsReturn instanceof XSBoolean) {
                 XSBoolean returnResultBool = (XSBoolean) rsReturn;
                 result = returnResultBool.value();
              } else {
                 result = false;
View Full Code Here

Examples of org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType

   
    /*
     * Set value of XPath2 context variable $value, when variety of it's schema type is "simpleType -> atomic". 
     */
    private void setValueOf$ValueForSTVarietyAtomic(String value, short xsdTypecode) {
        AnyType psychoPathType = SchemaTypeValueFactory.newSchemaTypeValue(xsdTypecode, value);
        fDynamicContext.set_variable(new org.eclipse.wst.xml.xpath2.processor.internal.types.QName(
                                         "value"), (AnyAtomicType) psychoPathType);
    } // setValueOf$ValueForSTVarietyAtomic
View Full Code Here

Examples of org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType

        if (rs == null) {
           result = false;
        } else {
           if (rs.size() == 1) {
              AnyType rsReturn = rs.get(0);
              if (rsReturn instanceof XSBoolean) {
                 XSBoolean returnResultBool = (XSBoolean) rsReturn;
                 result = returnResultBool.value();
              } else {
                 result = false;
View Full Code Here

Examples of org.etsi.uri.x01903.v13.AnyType

        String role = signatureConfig.getXadesRole();
        if (role != null && !role.isEmpty()) {
            SignerRoleType signerRole = signedSignatureProperties.addNewSignerRole();
            signedSignatureProperties.setSignerRole(signerRole);
            ClaimedRolesListType claimedRolesList = signerRole.addNewClaimedRoles();
            AnyType claimedRole = claimedRolesList.addNewClaimedRole();
            XmlString roleString = XmlString.Factory.newInstance();
            roleString.setStringValue(role);
            insertXChild(claimedRole, roleString);
        }

        // XAdES-EPES
        SignaturePolicyService policyService = signatureConfig.getSignaturePolicyService();
        if (policyService != null) {
            SignaturePolicyIdentifierType signaturePolicyIdentifier =
                signedSignatureProperties.addNewSignaturePolicyIdentifier();
           
            SignaturePolicyIdType signaturePolicyId = signaturePolicyIdentifier.addNewSignaturePolicyId();

            ObjectIdentifierType objectIdentifier = signaturePolicyId.addNewSigPolicyId();
            objectIdentifier.setDescription(policyService.getSignaturePolicyDescription());
           
            IdentifierType identifier = objectIdentifier.addNewIdentifier();
            identifier.setStringValue(policyService.getSignaturePolicyIdentifier());

            byte[] signaturePolicyDocumentData = policyService.getSignaturePolicyDocument();
            DigestAlgAndValueType sigPolicyHash = signaturePolicyId.addNewSigPolicyHash();
            setDigestAlgAndValue(sigPolicyHash, signaturePolicyDocumentData, signatureConfig.getDigestAlgo());

            String signaturePolicyDownloadUrl = policyService.getSignaturePolicyDownloadUrl();
            if (null != signaturePolicyDownloadUrl) {
                SigPolicyQualifiersListType sigPolicyQualifiers = signaturePolicyId.addNewSigPolicyQualifiers();
                AnyType sigPolicyQualifier = sigPolicyQualifiers.addNewSigPolicyQualifier();
                XmlString spUriElement = XmlString.Factory.newInstance();
                spUriElement.setStringValue(signaturePolicyDownloadUrl);
                insertXChild(sigPolicyQualifier, spUriElement);
            }
        } else if (signatureConfig.isXadesSignaturePolicyImplied()) {
View Full Code Here

Examples of org.hibernate.type.AnyType

  public void setIdentifierType(String identifierType) {
    this.identifierTypeName = identifierType;
  }

  public Type getType() throws MappingException {
    return new AnyType(
      metaValues==null ?
        TypeFactory.heuristicType(metaTypeName) :
        new MetaType( metaValues, TypeFactory.heuristicType(metaTypeName) ),
        TypeFactory.heuristicType(identifierTypeName)
    );
View Full Code Here

Examples of org.hibernate.type.AnyType

   *
   * @deprecated Use {@link TypeHelper#any} instead.
   */
  @SuppressWarnings({ "JavaDoc", "UnusedDeclaration" })
  public static Type any(Type metaType, Type identifierType) {
    return new AnyType( metaType, identifierType );
  }
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.