Package com.volantis.mcs.protocols.vdxml.style

Examples of com.volantis.mcs.protocols.vdxml.style.VDXMLStyleRange


        /**
         * Render the the binary value automagically depending on it's value
         * and whether we are starting or ending it's range. 
         */
        public void visit(VDXMLBinaryValue value) {
            VDXMLStyleRange range;
            // If this value turned something on ...
            if (value == VDXMLBinaryValue.TRUE) {
                // ... then the start and end values are the normal range
                // start and end (DE and FI respectively).
                range = styleRange;
            // Else if this value turned something off ...
            } else if (value == VDXMLBinaryValue.FALSE) {
                // ... then start and end values are the inverse of the normal
                // range start and end values (FI and DE respectively).
                range = styleRange.inverse();
            } else {
                // Should never happen.
                throw new IllegalStateException();
            }
            renderedValue = range.getAttributeValue();
        }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.vdxml.style.VDXMLStyleRange

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.