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


Java JsonAutoDetect.Visibility方法代碼示例

本文整理匯總了Java中org.codehaus.jackson.annotate.JsonAutoDetect.Visibility方法的典型用法代碼示例。如果您正苦於以下問題:Java JsonAutoDetect.Visibility方法的具體用法?Java JsonAutoDetect.Visibility怎麽用?Java JsonAutoDetect.Visibility使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在org.codehaus.jackson.annotate.JsonAutoDetect的用法示例。


在下文中一共展示了JsonAutoDetect.Visibility方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: Std

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public Std(JsonAutoDetect.Visibility paramVisibility1, JsonAutoDetect.Visibility paramVisibility2, JsonAutoDetect.Visibility paramVisibility3, JsonAutoDetect.Visibility paramVisibility4, JsonAutoDetect.Visibility paramVisibility5)
{
  this._getterMinLevel = paramVisibility1;
  this._isGetterMinLevel = paramVisibility2;
  this._setterMinLevel = paramVisibility3;
  this._creatorMinLevel = paramVisibility4;
  this._fieldMinLevel = paramVisibility5;
}
 
開發者ID:zhangjianying,項目名稱:12306-android-Decompile,代碼行數:9,代碼來源:VisibilityChecker.java

示例2: withCreatorVisibility

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public Std withCreatorVisibility(JsonAutoDetect.Visibility paramVisibility)
{
  if (paramVisibility == JsonAutoDetect.Visibility.DEFAULT)
    paramVisibility = DEFAULT._creatorMinLevel;
  if (this._creatorMinLevel == paramVisibility)
    return this;
  JsonAutoDetect.Visibility localVisibility1 = this._getterMinLevel;
  JsonAutoDetect.Visibility localVisibility2 = this._isGetterMinLevel;
  JsonAutoDetect.Visibility localVisibility3 = this._setterMinLevel;
  JsonAutoDetect.Visibility localVisibility4 = this._fieldMinLevel;
  return new Std(localVisibility1, localVisibility2, localVisibility3, paramVisibility, localVisibility4);
}
 
開發者ID:zhangjianying,項目名稱:12306-android-Decompile,代碼行數:13,代碼來源:VisibilityChecker.java

示例3: withFieldVisibility

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public Std withFieldVisibility(JsonAutoDetect.Visibility paramVisibility)
{
  if (paramVisibility == JsonAutoDetect.Visibility.DEFAULT)
    paramVisibility = DEFAULT._fieldMinLevel;
  if (this._fieldMinLevel == paramVisibility)
    return this;
  return new Std(this._getterMinLevel, this._isGetterMinLevel, this._setterMinLevel, this._creatorMinLevel, paramVisibility);
}
 
開發者ID:zhangjianying,項目名稱:12306-android-Decompile,代碼行數:9,代碼來源:VisibilityChecker.java

示例4: withGetterVisibility

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public Std withGetterVisibility(JsonAutoDetect.Visibility paramVisibility)
{
  if (paramVisibility == JsonAutoDetect.Visibility.DEFAULT)
    paramVisibility = DEFAULT._getterMinLevel;
  if (this._getterMinLevel == paramVisibility)
    return this;
  JsonAutoDetect.Visibility localVisibility1 = this._isGetterMinLevel;
  JsonAutoDetect.Visibility localVisibility2 = this._setterMinLevel;
  JsonAutoDetect.Visibility localVisibility3 = this._creatorMinLevel;
  JsonAutoDetect.Visibility localVisibility4 = this._fieldMinLevel;
  return new Std(paramVisibility, localVisibility1, localVisibility2, localVisibility3, localVisibility4);
}
 
開發者ID:zhangjianying,項目名稱:12306-android-Decompile,代碼行數:13,代碼來源:VisibilityChecker.java

示例5: withIsGetterVisibility

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public Std withIsGetterVisibility(JsonAutoDetect.Visibility paramVisibility)
{
  if (paramVisibility == JsonAutoDetect.Visibility.DEFAULT)
    paramVisibility = DEFAULT._isGetterMinLevel;
  if (this._isGetterMinLevel == paramVisibility)
    return this;
  JsonAutoDetect.Visibility localVisibility1 = this._getterMinLevel;
  JsonAutoDetect.Visibility localVisibility2 = this._setterMinLevel;
  JsonAutoDetect.Visibility localVisibility3 = this._creatorMinLevel;
  JsonAutoDetect.Visibility localVisibility4 = this._fieldMinLevel;
  return new Std(localVisibility1, paramVisibility, localVisibility2, localVisibility3, localVisibility4);
}
 
開發者ID:zhangjianying,項目名稱:12306-android-Decompile,代碼行數:13,代碼來源:VisibilityChecker.java

示例6: withSetterVisibility

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public Std withSetterVisibility(JsonAutoDetect.Visibility paramVisibility)
{
  if (paramVisibility == JsonAutoDetect.Visibility.DEFAULT)
    paramVisibility = DEFAULT._setterMinLevel;
  if (this._setterMinLevel == paramVisibility)
    return this;
  JsonAutoDetect.Visibility localVisibility1 = this._getterMinLevel;
  JsonAutoDetect.Visibility localVisibility2 = this._isGetterMinLevel;
  JsonAutoDetect.Visibility localVisibility3 = this._creatorMinLevel;
  JsonAutoDetect.Visibility localVisibility4 = this._fieldMinLevel;
  return new Std(localVisibility1, localVisibility2, paramVisibility, localVisibility3, localVisibility4);
}
 
開發者ID:zhangjianying,項目名稱:12306-android-Decompile,代碼行數:13,代碼來源:VisibilityChecker.java

示例7: withIsGetterVisibility

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public Std withIsGetterVisibility(JsonAutoDetect.Visibility paramVisibility)
{
  if (paramVisibility == JsonAutoDetect.Visibility.DEFAULT);
  for (JsonAutoDetect.Visibility localVisibility = DEFAULT._isGetterMinLevel; ; localVisibility = paramVisibility)
  {
    if (this._isGetterMinLevel == localVisibility)
      return this;
    return new Std(this._getterMinLevel, localVisibility, this._setterMinLevel, this._creatorMinLevel, this._fieldMinLevel);
  }
}
 
開發者ID:isnuryusuf,項目名稱:ingress-indonesia-dev,代碼行數:11,代碼來源:VisibilityChecker$Std.java

示例8:

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public VisibilityChecker$Std(JsonAutoDetect.Visibility paramVisibility1, JsonAutoDetect.Visibility paramVisibility2, JsonAutoDetect.Visibility paramVisibility3, JsonAutoDetect.Visibility paramVisibility4, JsonAutoDetect.Visibility paramVisibility5)
{
  this._getterMinLevel = paramVisibility1;
  this._isGetterMinLevel = paramVisibility2;
  this._setterMinLevel = paramVisibility3;
  this._creatorMinLevel = paramVisibility4;
  this._fieldMinLevel = paramVisibility5;
}
 
開發者ID:isnuryusuf,項目名稱:ingress-indonesia-dev,代碼行數:9,代碼來源:VisibilityChecker$Std.java

示例9: withCreatorVisibility

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public Std withCreatorVisibility(JsonAutoDetect.Visibility paramVisibility)
{
  if (paramVisibility == JsonAutoDetect.Visibility.DEFAULT);
  for (JsonAutoDetect.Visibility localVisibility = DEFAULT._creatorMinLevel; ; localVisibility = paramVisibility)
  {
    if (this._creatorMinLevel == localVisibility)
      return this;
    return new Std(this._getterMinLevel, this._isGetterMinLevel, this._setterMinLevel, localVisibility, this._fieldMinLevel);
  }
}
 
開發者ID:isnuryusuf,項目名稱:ingress-indonesia-dev,代碼行數:11,代碼來源:VisibilityChecker$Std.java

示例10: withFieldVisibility

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public Std withFieldVisibility(JsonAutoDetect.Visibility paramVisibility)
{
  if (paramVisibility == JsonAutoDetect.Visibility.DEFAULT);
  for (JsonAutoDetect.Visibility localVisibility = DEFAULT._fieldMinLevel; ; localVisibility = paramVisibility)
  {
    if (this._fieldMinLevel == localVisibility)
      return this;
    return new Std(this._getterMinLevel, this._isGetterMinLevel, this._setterMinLevel, this._creatorMinLevel, localVisibility);
  }
}
 
開發者ID:isnuryusuf,項目名稱:ingress-indonesia-dev,代碼行數:11,代碼來源:VisibilityChecker$Std.java

示例11: withGetterVisibility

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public Std withGetterVisibility(JsonAutoDetect.Visibility paramVisibility)
{
  if (paramVisibility == JsonAutoDetect.Visibility.DEFAULT);
  for (JsonAutoDetect.Visibility localVisibility = DEFAULT._getterMinLevel; ; localVisibility = paramVisibility)
  {
    if (this._getterMinLevel == localVisibility)
      return this;
    return new Std(localVisibility, this._isGetterMinLevel, this._setterMinLevel, this._creatorMinLevel, this._fieldMinLevel);
  }
}
 
開發者ID:isnuryusuf,項目名稱:ingress-indonesia-dev,代碼行數:11,代碼來源:VisibilityChecker$Std.java

示例12: createMapper

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public static ObjectMapper createMapper() {
	
	ObjectMapper mapper = new ObjectMapper();
	
	for (Map.Entry<JsonMethod, JsonAutoDetect.Visibility> entry : VISIBILITIES.entrySet()) {
		mapper.setVisibility(entry.getKey(), entry.getValue());
	}
	
	return mapper;
}
 
開發者ID:testobject,項目名稱:visual-scripting,代碼行數:11,代碼來源:Store.java

示例13: withCreatorVisibility

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public abstract T withCreatorVisibility(JsonAutoDetect.Visibility paramVisibility); 
開發者ID:isnuryusuf,項目名稱:ingress-indonesia-dev,代碼行數:2,代碼來源:VisibilityChecker.java

示例14: withGetterVisibility

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public abstract T withGetterVisibility(JsonAutoDetect.Visibility paramVisibility); 
開發者ID:isnuryusuf,項目名稱:ingress-indonesia-dev,代碼行數:2,代碼來源:VisibilityChecker.java

示例15: withIsGetterVisibility

import org.codehaus.jackson.annotate.JsonAutoDetect; //導入方法依賴的package包/類
public abstract T withIsGetterVisibility(JsonAutoDetect.Visibility paramVisibility); 
開發者ID:isnuryusuf,項目名稱:ingress-indonesia-dev,代碼行數:2,代碼來源:VisibilityChecker.java


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