Examples of ElementReader


Examples of org.codehaus.xfire.aegis.stax.ElementReader

       
        Type dtoType = mapping.getTypeCreator().createType(DateDTO.class);
        mapping.register(dtoType);
       
        // Test reading
        ElementReader reader = new ElementReader(getResourceAsStream("/org/codehaus/xfire/aegis/type/basic/dates.xml"));
       
        Object obj = dtoType.readObject(reader, new MessageContext());
        DateDTO dto = (DateDTO) obj;
        assertNotNull(dto.getDate0());
        assertNotNull(dto.getDateTime0());
View Full Code Here

Examples of org.wso2.carbon.policybuilder.ui.internal.services.ElementReader

    while (!isEmptyList()) {
      current = next();
      elementName = current.getQName().toString();
      if (this.msgProp.contains(elementName)) {
        if (elementName.equals((String) msgProp.getProperties(EncryptedPartsPropertyFactory.K_Body))) {
          ElementReader bodyReader = new ElementReader(current);
          String elName;
          while (bodyReader.next()) {
            elName = bodyReader.getCurrentElementName();
            if (elName.equals((String) msgProp.getProperties(EncryptedPartsPropertyFactory.K_EncData))) {
              this.hasEncryptedParts = true;
              this.isBehaviorCompleted = true;
              if (log.isDebugEnabled()) {
                log.debug("Has Encrypted parts in Body");
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.