Package com.volantis.mcs.papi

Examples of com.volantis.mcs.papi.AudioAttributes


            BlockAttributes blockAttributes,
            VolantisProtocol protocol,
            MarinerPageContext pageContext)
            throws PAPIException {

        AudioAttributes attributes =
                (AudioAttributes) blockAttributes;

        // Nothing to do if the source cannot be generated.
        AssetResolver resolver = pageContext.getAssetResolver();
        String src = resolver.computeURLAsString(selected);
        if (src == null) {
            return;
        }

        aAttributes.setId(attributes.getId());
        aAttributes.setTitle(attributes.getTitle());
        aAttributes.setAssetURLSuffix(attributes.getAssetURLsuffix());
        aAttributes.setSrc(src);

        aAttributes.setTagName("audio");

        // Add any event attributes.
View Full Code Here


        if (logger.isDebugEnabled()) {
            logger.debug("Volantis AudioElement elementEndImpl starts");
        }

        AudioAttributes attributes =
                (AudioAttributes) blockAttributes;

        MarinerPageContext pageContext
                = ContextInternals.getMarinerPageContext(context);

        String audioComponentName = attributes.getSrc();

        if (audioComponentName != null) {
            PolicyReferenceResolver resolver =
                    pageContext.getPolicyReferenceResolver();
View Full Code Here

TOP

Related Classes of com.volantis.mcs.papi.AudioAttributes

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.