Examples of NameImpl


Examples of org.geotools.feature.NameImpl

    /**
     * @see org.geoserver.catalog.ResourceInfo#getQualifiedName()
     */
    public Name getQualifiedName() {
        return new NameImpl(getNamespace().getURI(), getName());
    }
View Full Code Here

Examples of org.geotools.feature.NameImpl

   
    /**
     * @see org.geoserver.catalog.ResourceInfo#getQualifiedNativeName()
     */
    public Name getQualifiedNativeName() {
        return new NameImpl(getNamespace().getURI(), getNativeName());
    }
View Full Code Here

Examples of org.jboss.test.annotation.factory.support.NameImpl

      assertFalse(defaultName+" != "+n1, defaultName.equals(n1));
      // The AnnotationCreator annotation should not equal the defaultName
      assertFalse(n0+" != "+defaultName, n0.equals(defaultName));
      assertFalse(defaultName+" != "+n0, defaultName.equals(n0));

      Name n2 = new NameImpl("type", "subtype");
      getLog().debug("n2: " + n2);
      assertEquals(n0, n2);
      assertEquals(n2, n0);
      assertEquals(n1, n2);
      assertEquals(n2, n1);

      Name n3 = new NameImpl();
      assertFalse(n0  + "!=" +  n3, n0.equals(n3));
      assertFalse(n3  + "!=" +  n0, n3.equals(n0));
      assertFalse(n1  + "!=" +  n3, n1.equals(n3));
      assertFalse(n3  + "!=" +  n1, n3.equals(n1));           
   }
View Full Code Here

Examples of org.jboss.ws.core.soap.NameImpl

      QName faultCode = faultEx.getFaultCode();
      if (faultCode.getNamespaceURI().length() > 0)
         faultCode = nsRegistry.registerQName(faultCode);

      String faultString = getValidFaultString(faultEx);
      SOAPFault soapFault = soapBody.addFault(new NameImpl(faultCode), faultString);

      String faultActor = faultEx.getFaultActor();
      if (faultActor != null)
      {
         SOAPElement soapElement = soapFault.addChildElement("faultactor");
View Full Code Here

Examples of org.jboss.ws.core.soap.NameImpl

       * 1. SOAPFaultException.getFault().getFaultCodeAsQName()
       * X. env:Server (Subcode omitted for SOAP 1.2) */
      Name faultCode = sourceFault.getFaultCodeAsName();
      if (faultCode != null)
      {
         faultCode = new NameImpl(faultCode.getLocalName(), "codeNS", faultCode.getURI());
      }
      else
      {
         faultCode = getFallbackFaultCode();
      }
View Full Code Here

Examples of org.jboss.ws.core.soap.NameImpl

      SOAPFault soapFault = soapBody.addFault(getFallbackFaultCode(), getFallbackFaultString(ex));

      CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
      SerializationContext serContext = msgContext.getSerializationContext();

      NameImpl faultCode = (NameImpl)soapFault.getFaultCodeAsName();
      if (faultCode.getURI().length() > 0)
         serContext.getNamespaceRegistry().registerQName(faultCode.toQName());

      OperationMetaData opMetaData = msgContext.getOperationMetaData();
      Class<? extends Exception> exClass = ex.getClass();
      if (opMetaData != null && opMetaData.getFaultMetaData(exClass) != null)
      {
View Full Code Here

Examples of org.jboss.ws.core.soap.NameImpl

      /* faultcode
       * X. SOAPFaultException.getFault().getFaultCodeAsQName()
       * 2. env:Server (Subcode omitted for SOAP 1.2) */
      if (isSOAP12() == false)
      {
         return new NameImpl(Constants.SOAP11_FAULT_CODE_SERVER);
      }
      else
      {
         return new NameImpl(SOAPConstants.SOAP_RECEIVER_FAULT);
      }
   }
View Full Code Here

Examples of org.wso2.carbon.registry.social.impl.people.userprofile.model.impl.NameImpl

        personManager.setClaimManager(realm.getClaimManager());
        Person person = new PersonImpl();
        person.setId("admin12");
        person.setNickname("abcd");
        person.setAboutMe("About Me");
        Name personName = new NameImpl();
        personName.setGivenName("Admin");
        personName.setFamilyName("Abcd");
        person.setName(personName);
        ListField email = new ListFieldImpl();
        email.setValue("admin@abcd.org");
        List<ListField> emails = new ArrayList<ListField>();
        emails.add(email);
View Full Code Here

Examples of org.wso2.carbon.registry.social.impl.people.userprofile.model.impl.NameImpl

        personManager.setClaimManager(realm.getClaimManager());
        Person person = new PersonImpl();
        person.setId("admin");
        person.setNickname("abcd");
        person.setAboutMe("About Me");
        Name personName = new NameImpl();
        personName.setGivenName("Admin");
        personName.setFamilyName("Abcd");
        person.setName(personName);
        ListField email = new ListFieldImpl();
        email.setValue("admin@abcd.org");
        List<ListField> emails = new ArrayList<ListField>();
        emails.add(email);
View Full Code Here

Examples of org.wso2.carbon.registry.social.impl.people.userprofile.model.impl.NameImpl

        personManager.setClaimManager(realm.getClaimManager());
        Person person = new PersonImpl();
        person.setId("abcd");
        person.setNickname("abcdQQ");
        person.setAboutMe("About Me");
        Name personName = new NameImpl();
        personName.setGivenName("Admin");
        personName.setFamilyName("Abcd");
        person.setName(personName);
        ListField email = new ListFieldImpl();
        email.setValue("abcd@abcd.org");
        List<ListField> emails = new ArrayList<ListField>();
        emails.add(email);
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.