/** * Sets the flag indicating if non-translatable text units should be output or not. * @param includeNoTranslate true to include non-translatable text unit in the output. */ public void setIncludeNoTranslate (boolean includeNoTranslate) { setBoolean(INCLUDENOTRANSLATE, includeNoTranslate); }
/** * Sets the copySource flag indicating to copy the source at the target spot if there is no target defined. * @param copySource true to copy the source at the target spot if there is no target defined. */ public void setCopySource (boolean copySource) { setBoolean(COPYSOURCE, copySource); }
/** * Sets the flag indicating if the inline code should use the place-holder notation (g and x elements). * @param placeholderMode true if the inline code should use the place-holder notation. */ public void setPlaceholderMode(boolean placeholderMode) { setBoolean(PLACEHOLDERMODE, placeholderMode); }
/** * Sets the flag indicating to mark as not translatable all entries that are approved. * @param setApprovedAsNoTranslate true to mark approved entries as not translatable. */ public void setSetApprovedAsNoTranslate(boolean setApprovedAsNoTranslate) { setBoolean(SETAPPROVEDASNOTRANSLATE, setApprovedAsNoTranslate); }
/** * Sets the flag indicating if extended code attributes should be output or not. * @param includeCodeAttrs true to include extended code attributes in the output. */ public void setIncludeCodeAttrs(boolean includeCodeAttrs) { setBoolean(INCLUDECODEATTRS, includeCodeAttrs); }
/** * Sets the flag indicating if the source text is used in the target, even if * a target is available. * <p>This is for the tools where we trust the target will be obtained by the tool * from the TMX from original. This is to allow editing of pre-translated items in XLIFF * editors that use directly the <target> element. * @param useSourceForTranslated true to use the source in the target even if a target text * is available. */ public void setUseSourceForTranslated (boolean useSourceForTranslated) { setBoolean(USESOURCEFORTRANSLATED, useSourceForTranslated); }
/** * Sets the flag indicating if '>' should be escaped or not. * @param escapeGt true to always escape '>', false to not escape it. */ public void setEscapeGt (boolean escapeGt) { setBoolean(ESCAPEGT, escapeGt); }
/** * Sets the flag indicating if alt-trans elements should be output or not. * @param includeAltTrans true to include alt-trans element in the output. */ public void setIncludeAltTrans (boolean includeAltTrans) { setBoolean(INCLUDEALTTRANS, includeAltTrans); }
/** * Sets the flag indicating if ITS markup should be output or not. * @param includeIts true to include ITS markup in the output. */ public void setIncludeIts (boolean includeIts) { setBoolean(INCLUDEITS, includeIts); }