public void resolveMapping(CmsObject cms, CmsXmlContent content, I_CmsXmlContentValue value) throws CmsException {

        if (content.getFile() == null) {
            throw new CmsXmlException(Messages.get().container(Messages.ERR_XMLCONTENT_RESOLVE_FILE_NOT_FOUND_0));
        }

        // get the mappings for the element name
        boolean valueIsSimple = value.isSimpleType();
        String valuePath = value.getPath();
        int valueIndex = value.getIndex();
        Locale valueLocale = value.getLocale();
        CmsObject rootCms1 = createRootCms(cms);
        String originalStringValue = null;
        if (valueIsSimple) {
            originalStringValue = value.getStringValue(rootCms1);
        }
        resolveMapping(cms, content, valuePath, valueIsSimple, valueIndex, valueLocale, originalStringValue);
    }
public void resolveMapping ( CmsObject cms , CmsXmlContent content , I_CmsXmlContentValue value ) throws CmsException { if ( content . getFile ( ) == null ) { throw new CmsXmlException ( Messages . get ( ) . container ( Messages . ERR_XMLCONTENT_RESOLVE_FILE_NOT_FOUND_0 ) ) ; } boolean valueIsSimple = value . isSimpleType ( ) ; String valuePath = value . getPath ( ) ; int valueIndex = value . getIndex ( ) ; Locale valueLocale = value . getLocale ( ) ; CmsObject rootCms1 = createRootCms ( cms ) ; String originalStringValue = null ; if ( valueIsSimple ) { originalStringValue = value . getStringValue ( rootCms1 ) ; } resolveMapping ( cms , content , valuePath , valueIsSimple , valueIndex , valueLocale , originalStringValue ) ; }
@see org.opencms.xml.content.I_CmsXmlContentHandler#resolveMapping(org.opencms.file.CmsObject, org.opencms.xml.content.CmsXmlContent, org.opencms.xml.types.I_CmsXmlContentValue)