Examples of convertString()


Examples of io.lumify.core.model.ontology.OntologyProperty.convertString()

            throw new RuntimeException("Could not find property: " + propertyName);
        }

        Object value;
        try {
            value = property.convertString(valueStr);
        } catch (Exception ex) {
            LOGGER.warn(String.format("Validation error propertyName: %s, valueStr: %s", propertyName, valueStr), ex);
            response.sendError(HttpServletResponse.SC_BAD_REQUEST, ex.getMessage());
            return;
        }
View Full Code Here

Examples of io.lumify.core.model.ontology.OntologyProperty.convertString()

            throw new RuntimeException("Could not find property: " + propertyName);
        }

        Object value;
        try {
            value = property.convertString(valueStr);
        } catch (Exception ex) {
            LOGGER.warn(String.format("Validation error propertyName: %s, valueStr: %s", propertyName, valueStr), ex);
            throw new LumifyException(ex.getMessage(), ex);
        }
View Full Code Here

Examples of org.apache.pdfbox.encoding.conversion.EncodingConverter.convertString()

            EncodingConverter converter = EncodingConversionManager.getConverter(((COSName)encodingCOS).getName());
            if ( converter != null )
            {
                if ( retval != null )
                {
                    retval = converter.convertString(retval);
                }
                else
                {
                    retval = converter.convertBytes(c, offset, length, cmap);
                }
View Full Code Here

Examples of org.apache.pdfbox.encoding.conversion.EncodingConverter.convertString()

            EncodingConverter converter = EncodingConversionManager.getConverter(((COSName)encodingCOS).getName());
            if ( converter != null )
            {
                if ( retval != null )
                {
                    retval = converter.convertString(retval);
                }
                else
                {
                    retval = converter.convertBytes(c, offset, length, cmap);
                }
View Full Code Here

Examples of org.apache.pdfbox.encoding.conversion.EncodingConverter.convertString()

            EncodingConverter converter = EncodingConversionManager.getConverter(((COSName)encodingCOS).getName());
            if ( converter != null )
            {
                if ( retval != null )
                {
                    retval = converter.convertString(retval);
                }
                else
                {
                    retval = converter.convertBytes(c, offset, length, cmap);
                }
View Full Code Here

Examples of org.apache.vxquery.runtime.functions.cast.CastToBase64BinaryOperation.convertString()

    public void convertString(UTF8StringPointable stringp, DataOutput dOut) throws SystemException, IOException {
        boolean castable = true;
        try {
            abvsInner.reset();
            CastToBase64BinaryOperation castTo = new CastToBase64BinaryOperation();
            castTo.convertString(stringp, dOutInner);
        } catch (Exception e) {
            castable = false;
        }
        dOut.write(ValueTag.XS_BOOLEAN_TAG);
        dOut.write((byte) (castable ? 1 : 0));
View Full Code Here

Examples of org.apache.vxquery.runtime.functions.cast.CastToBooleanOperation.convertString()

    @Override
    public void convertString(UTF8StringPointable stringp, DataOutput dOut) throws SystemException, IOException {
        boolean castable = true;
        try {
            CastToBooleanOperation castTo = new CastToBooleanOperation();
            castTo.convertString(stringp, dOutInner);
        } catch (Exception e) {
            castable = false;
        }
        dOut.write(ValueTag.XS_BOOLEAN_TAG);
        dOut.write((byte) (castable ? 1 : 0));
View Full Code Here

Examples of org.apache.vxquery.runtime.functions.cast.CastToByteOperation.convertString()

    public void convertString(UTF8StringPointable stringp, DataOutput dOut) throws SystemException, IOException {
        boolean castable = true;
        try {
            abvsInner.reset();
            CastToByteOperation castTo = new CastToByteOperation();
            castTo.convertString(stringp, dOutInner);
        } catch (Exception e) {
            castable = false;
        }
        dOut.write(ValueTag.XS_BOOLEAN_TAG);
        dOut.write((byte) (castable ? 1 : 0));
View Full Code Here

Examples of org.apache.vxquery.runtime.functions.cast.CastToDTDurationOperation.convertString()

    public void convertString(UTF8StringPointable stringp, DataOutput dOut) throws SystemException, IOException {
        boolean castable = true;
        try {
            abvsInner.reset();
            CastToDTDurationOperation castTo = new CastToDTDurationOperation();
            castTo.convertString(stringp, dOutInner);
        } catch (Exception e) {
            castable = false;
        }
        dOut.write(ValueTag.XS_BOOLEAN_TAG);
        dOut.write((byte) (castable ? 1 : 0));
View Full Code Here

Examples of org.apache.vxquery.runtime.functions.cast.CastToDateOperation.convertString()

    public void convertString(UTF8StringPointable stringp, DataOutput dOut) throws SystemException, IOException {
        boolean castable = true;
        try {
            abvsInner.reset();
            CastToDateOperation castTo = new CastToDateOperation();
            castTo.convertString(stringp, dOutInner);
        } catch (Exception e) {
            castable = false;
        }
        dOut.write(ValueTag.XS_BOOLEAN_TAG);
        dOut.write((byte) (castable ? 1 : 0));
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.