Package com.amazonaws.services.cloudfront_2012_03_15.model.transform

Examples of com.amazonaws.services.cloudfront_2012_03_15.model.transform.ListStreamingDistributionsResultStaxUnmarshaller


        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("AccessDenied"))
            return null;

        AccessDeniedException e = (AccessDeniedException)super.unmarshall(node);

        return e;
    }
View Full Code Here


* Active Trusted Signers StAX Unmarshaller
*/
public class ActiveTrustedSignersStaxUnmarshaller implements Unmarshaller<ActiveTrustedSigners, StaxUnmarshallerContext> {

    public ActiveTrustedSigners unmarshall(StaxUnmarshallerContext context) throws Exception {
        ActiveTrustedSigners activeTrustedSigners = new ActiveTrustedSigners();
        int originalDepth = context.getCurrentDepth();
        int targetDepth = originalDepth + 1;
        if (context.isStartOfDocument()) targetDepth += 1;


        while (true) {
            XMLEvent xmlEvent = context.nextEvent();
            if (xmlEvent.isEndDocument()) return activeTrustedSigners;

            if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) {
                if (context.testExpression("Signer", targetDepth)) {
                    activeTrustedSigners.getSigners().add(SignerStaxUnmarshaller.getInstance().unmarshall(context));
                    continue;
                }
            } else if (xmlEvent.isEndElement()) {
                if (context.getCurrentDepth() < originalDepth) {
                    return activeTrustedSigners;
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("BatchTooLarge"))
            return null;

        BatchTooLargeException e = (BatchTooLargeException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("CNAMEAlreadyExists"))
            return null;

        CNAMEAlreadyExistsException e = (CNAMEAlreadyExistsException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("CloudFrontOriginAccessIdentityAlreadyExists"))
            return null;

        CloudFrontOriginAccessIdentityAlreadyExistsException e = (CloudFrontOriginAccessIdentityAlreadyExistsException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("CloudFrontOriginAccessIdentityInUse"))
            return null;

        CloudFrontOriginAccessIdentityInUseException e = (CloudFrontOriginAccessIdentityInUseException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("DistributionAlreadyExists"))
            return null;

        DistributionAlreadyExistsException e = (DistributionAlreadyExistsException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("DistributionNotDisabled"))
            return null;

        DistributionNotDisabledException e = (DistributionNotDisabledException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("IllegalUpdate"))
            return null;

        IllegalUpdateException e = (IllegalUpdateException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("InvalidArgument"))
            return null;

        InvalidArgumentException e = (InvalidArgumentException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.cloudfront_2012_03_15.model.transform.ListStreamingDistributionsResultStaxUnmarshaller

Copyright © 2018 www.massapicom. 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.