public static String realToString ( Package pkg , String type , Object value ) { if ( value == null ) return "" ; com . centurylink . mdw . variable . VariableTranslator trans = getTranslator ( pkg , type ) ; if ( trans instanceof DocumentReferenceTranslator ) return ( ( DocumentReferenceTranslator ) trans ) . realToString ( value ) ; else return trans . toString ( value ) ; }
Serializes a runtime variable object to its string value . Documents are expanded .