Package com.volantis.mcs.protocols.assets.implementation

Examples of com.volantis.mcs.protocols.assets.implementation.LiteralTextAssetReference


                new TextInputFormatScriptGenerator(resolverMock,
                        new TextInputFormatParser(false));

        XFTextInputAttributes attributes = new XFTextInputAttributes();
        attributes.setName("abc");
        attributes.setErrmsg(new LiteralTextAssetReference("error message"));
        attributes.setCaption(new LiteralTextAssetReference("caption"));
        attributes.setStyles(StylesBuilder.getSparseStyles(
                "mcs-input-format: \"M:M\""));

        StringBuffer buffer = new StringBuffer();
        generator.writeJavaScriptValidation(attributes, buffer);
View Full Code Here


        if (value == StyleKeywords.NONE) {
            // No validation.
            reference = null;
        } else if (value instanceof StyleString) {
            StyleString string = (StyleString) value;
            reference = new LiteralTextAssetReference(string.getString());
        } else if (value instanceof StyleComponentURI) {
            StyleComponentURI uri = (StyleComponentURI) value;
            reference = new DefaultComponentTextAssetReference(
                    (RuntimePolicyReference) assetResolver.evaluateExpression(
                            uri.getExpression()),
View Full Code Here

        AnchorAttributes a = new AnchorAttributes();

        // Initialise the anchor attributes.
        a.copy(attributes);

        a.setShortcut(new LiteralTextAssetReference(attributes.getShortcut()));
        a.setContent(attributes.getLinkText());
        a.setHref(attributes.getHref());

        doAnchor(dom, a);
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.assets.implementation.LiteralTextAssetReference

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.