本文整理匯總了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;
}
}
示例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;
}
示例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;
}
示例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;
}
示例5: getTargetTranslator
import de.vandermeer.skb.interfaces.translators.TargetTranslator; //導入依賴的package包/類
@Override
public TargetTranslator getTargetTranslator() {
return this.targetTranslator;
}
示例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;
}
示例7: getTargetTranslator
import de.vandermeer.skb.interfaces.translators.TargetTranslator; //導入依賴的package包/類
/**
* Returns the target translator.
* @return target translator, null if not set
*/
TargetTranslator getTargetTranslator();
示例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);