Package com.volantis.xml.expression.atomic

Examples of com.volantis.xml.expression.atomic.StringValue.asJavaString()


        if (x instanceof XMLPipelineException) {
            XMLPipelineException pipelineException = (XMLPipelineException) x;
            Map errorProperties = pipelineException.getErrorProperties();
            if (errorProperties != null) {
                Object value = errorProperties.get(arg.asJavaString());
                if (value != null) {
                    result = factory.createStringValue(value.toString());
                }
            }
        }
View Full Code Here


    }

    private String getAsJavaString(final double d) {
        SimpleDoubleValue value = new SimpleDoubleValue(expressionFactory, d);
        StringValue stringValue = value.stringValue();
        return stringValue.asJavaString();
    }
}

/*
===========================================================================
View Full Code Here

        StringValue str = (StringValue)item;
        // check the StringValues string
        assertEquals("Unexpected StringValue value",
                     "str",
                     str.asJavaString());
    }

    /**
     * Test the getCharacteristic() function with a characteristic that has
     * a value
View Full Code Here

        StringValue str = (StringValue)item;
        // check the StringValues string
        assertEquals("Unexpected StringValue value",
                     "str",
                     str.asJavaString());
    }

    /**
     * Test the getCharacteristic() function with a characteristic that has
     * a value
View Full Code Here

        StringValue str = (StringValue)item;
        // check the StringValues string
        assertEquals("Unexpected StringValue value",
                     "str",
                     str.asJavaString());
    }

    /**
     * Test the getCharacteristic() function with a characteristic that has
     * a value
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.