當前位置: 首頁>>代碼示例>>Java>>正文


Java TargetTranslator類代碼示例

本文整理匯總了Java中de.vandermeer.skb.interfaces.translators.TargetTranslator的典型用法代碼示例。如果您正苦於以下問題:Java TargetTranslator類的具體用法?Java TargetTranslator怎麽用?Java TargetTranslator使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


TargetTranslator類屬於de.vandermeer.skb.interfaces.translators包,在下文中一共展示了TargetTranslator類的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: setTargetTranslator

import de.vandermeer.skb.interfaces.translators.TargetTranslator; //導入依賴的package包/類
/**
 * Sets the target translator.
 * It will also remove any other translator set.
 * Nothing will happen if the argument is null.
 * @param targetTranslator translator
 */
public void setTargetTranslator(TargetTranslator targetTranslator) {
	if(targetTranslator!=null){
		this.targetTranslator = targetTranslator;
		this.charTranslator = null;
		this.htmlElementTranslator = null;
	}
}
 
開發者ID:vdmeer,項目名稱:asciiparagraph,代碼行數:14,代碼來源:AP_Context.java

示例2: setTargetTranslator

import de.vandermeer.skb.interfaces.translators.TargetTranslator; //導入依賴的package包/類
@Override
public AsciiListContext setTargetTranslator(TargetTranslator targetTranslator) {
	if(targetTranslator!=null){
		this.targetTranslator = targetTranslator;
		this.charTranslator = null;
		this.htmlElementTranslator = null;
	}
	return this;
}
 
開發者ID:vdmeer,項目名稱:asciilist,代碼行數:10,代碼來源:AbstractAsciiListContext.java

示例3: setTargetTranslator

import de.vandermeer.skb.interfaces.translators.TargetTranslator; //導入依賴的package包/類
/**
 * Sets the target translator for all cells in the row.
 * It will also remove any other translator set.
 * Nothing will happen if the argument is null.
 * @param targetTranslator translator
 * @return this to allow chaining
 */
public AT_Row setTargetTranslator(TargetTranslator targetTranslator) {
	if(this.hasCells()){
		for(AT_Cell cell : this.getCells()){
			cell.getContext().setTargetTranslator(targetTranslator);
		}
	}
	return this;
}
 
開發者ID:vdmeer,項目名稱:asciitable,代碼行數:16,代碼來源:AT_Row.java

示例4: setTargetTranslator

import de.vandermeer.skb.interfaces.translators.TargetTranslator; //導入依賴的package包/類
/**
 * Sets the target translator for all cells in the table.
 * It will also remove any other translator set.
 * Nothing will happen if the argument is null.
 * @param targetTranslator translator
 * @return this to allow chaining
 */
public AsciiTable setTargetTranslator(TargetTranslator targetTranslator) {
	for(AT_Row row : this.rows){
		if(row.getType()==TableRowType.CONTENT){
			row.setTargetTranslator(targetTranslator);
		}
	}
	return this;
}
 
開發者ID:vdmeer,項目名稱:asciitable,代碼行數:16,代碼來源:AsciiTable.java

示例5: getTargetTranslator

import de.vandermeer.skb.interfaces.translators.TargetTranslator; //導入依賴的package包/類
@Override
public TargetTranslator getTargetTranslator() {
	return this.targetTranslator;
}
 
開發者ID:vdmeer,項目名稱:asciilist,代碼行數:5,代碼來源:AbstractAsciiListContext.java

示例6: getTargetTranslator

import de.vandermeer.skb.interfaces.translators.TargetTranslator; //導入依賴的package包/類
/**
 * Returns the target translator.
 * @return target translator, null if not set
 */
public TargetTranslator getTargetTranslator() {
	return this.targetTranslator;
}
 
開發者ID:vdmeer,項目名稱:asciiparagraph,代碼行數:8,代碼來源:AP_Context.java

示例7: getTargetTranslator

import de.vandermeer.skb.interfaces.translators.TargetTranslator; //導入依賴的package包/類
/**
 * Returns the target translator.
 * @return target translator, null if not set
 */
TargetTranslator getTargetTranslator();
 
開發者ID:vdmeer,項目名稱:asciilist,代碼行數:6,代碼來源:AsciiListContext.java

示例8: setTargetTranslator

import de.vandermeer.skb.interfaces.translators.TargetTranslator; //導入依賴的package包/類
/**
 * Sets the target translator.
 * It will also remove any other translator set.
 * Nothing will happen if the argument is null.
 * @param targetTranslator translator
 * @return this to allow chaining
 */
AsciiListContext setTargetTranslator(TargetTranslator targetTranslator);
 
開發者ID:vdmeer,項目名稱:asciilist,代碼行數:9,代碼來源:AsciiListContext.java


注:本文中的de.vandermeer.skb.interfaces.translators.TargetTranslator類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。