当前位置: 首页>>代码示例>>Java>>正文


Java JacksonXmlProperty类代码示例

本文整理汇总了Java中com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty的典型用法代码示例。如果您正苦于以下问题:Java JacksonXmlProperty类的具体用法?Java JacksonXmlProperty怎么用?Java JacksonXmlProperty使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


JacksonXmlProperty类属于com.fasterxml.jackson.dataformat.xml.annotation包,在下文中一共展示了JacksonXmlProperty类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getTable

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JacksonXmlProperty(isAttribute = true, localName = "table")
public String getTable() {
	if (_table == null) {
		return _name;
	}

	return _table;
}
 
开发者ID:mdelapenya,项目名称:liferay-service-builder-dsl,代码行数:9,代码来源:Entity.java

示例2: getOrganisationUnits

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JsonProperty
@JacksonXmlElementWrapper( localName = "organisationUnits", namespace = DxfNamespaces.DXF_2_0 )
@JacksonXmlProperty( localName = "organisationUnit", namespace = DxfNamespaces.DXF_2_0 )
@JsonIdentityInfo(generator=ObjectIdGenerators.PropertyGenerator.class, property="id")
@JsonIdentityReference(alwaysAsId=true)
public Set<OrganisationUnit> getOrganisationUnits()
{
    return organisationUnits;
}
 
开发者ID:dhis2,项目名称:dhis2-core,代码行数:10,代码来源:Option.java

示例3: setHandlerConfigList

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JacksonXmlProperty(localName = "handler")
@JacksonXmlElementWrapper(useWrapping = false)
public void setHandlerConfigList(List<HandlerConfig> handlerConfigList) {
  for (HandlerConfig handlerConfig : handlerConfigList) {
    handlerClassMap.put(handlerConfig.getHandlerId(), handlerConfig.getClazz());
  }
}
 
开发者ID:apache,项目名称:incubator-servicecomb-java-chassis,代码行数:8,代码来源:Config.java

示例4: getHumanName

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JacksonXmlProperty(isAttribute = true, localName = "human-name")
public String getHumanName() {
	if (_humanName == null) {
		return _name;
	}

	return _humanName;
}
 
开发者ID:mdelapenya,项目名称:liferay-service-builder-dsl,代码行数:9,代码来源:Entity.java

示例5: hasDynamicUpdate

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JacksonXmlProperty(
	isAttribute = true, localName = "dynamic-update-enabled"
)
public Boolean hasDynamicUpdate() {
	if (_dynamicUpdateEnabled == null) {
		return hasMvccEnabled();
	}

	return _dynamicUpdateEnabled;
}
 
开发者ID:mdelapenya,项目名称:liferay-service-builder-dsl,代码行数:11,代码来源:Entity.java

示例6: hasJsonSerialization

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JacksonXmlProperty(isAttribute = true, localName = "json-enabled")
public boolean hasJsonSerialization() {
	if (_jsonEnabled == null) {
		return _remoteService;
	}

	return _jsonEnabled;
}
 
开发者ID:mdelapenya,项目名称:liferay-service-builder-dsl,代码行数:9,代码来源:Entity.java

示例7: Error

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JsonCreator
public Error(
        @JsonProperty("code") @JacksonXmlProperty(localName = "code") String code,
        @JsonProperty("description") @JacksonXmlProperty(localName = "description") String description
) {
    this.code = code;
    this.description = isNotBlank(description) ? description : DESCRIPTION_NOT_AVAILABLE;
}
 
开发者ID:mkopylec,项目名称:errorest-spring-boot-starter,代码行数:9,代码来源:Error.java

示例8: Errors

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JsonCreator
public Errors(
        @JsonProperty("id") @JacksonXmlProperty(localName = "id") String id,
        @JsonProperty("errors") @JacksonXmlProperty(localName = "Jackson bug workaround") List<Error> errors
) {
    hasText(id, "Empty errors ID");
    this.id = id;
    this.errors = errors == null ? new ErrorsLoggingList() : new ErrorsLoggingList(errors);
}
 
开发者ID:mkopylec,项目名称:errorest-spring-boot-starter,代码行数:10,代码来源:Errors.java

示例9: getCharts

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JsonProperty
@JacksonXmlElementWrapper( localName = "charts", namespace = DxfNamespaces.DXF_2_0 )
@JacksonXmlProperty( localName = "chart", namespace = DxfNamespaces.DXF_2_0 )
public List<Chart> getCharts()
{
    return charts;
}
 
开发者ID:dhis2,项目名称:dhis2-core,代码行数:8,代码来源:Metadata.java

示例10: getUsers

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JsonProperty( "users" )
@JsonSerialize( contentAs = BaseIdentifiableObject.class )
@JacksonXmlElementWrapper( localName = "users", namespace = DxfNamespaces.DXF_2_0 )
@JacksonXmlProperty( localName = "user", namespace = DxfNamespaces.DXF_2_0 )
public List<User> getUsers()
{
    return users;
}
 
开发者ID:dhis2,项目名称:dhis2-core,代码行数:9,代码来源:DashboardItem.java

示例11: getCode

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@Override
@JsonProperty
@JacksonXmlProperty( isAttribute = true )
@Description( "The unique code for this Object." )
@Property( PropertyType.IDENTIFIER )
public String getCode()
{
    return code;
}
 
开发者ID:dhis2,项目名称:dhis2-core,代码行数:10,代码来源:BaseIdentifiableObject.java

示例12: getCategoryCombo

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JsonProperty
@JsonSerialize( as = BaseIdentifiableObject.class )
@JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
public DataElementCategoryCombo getCategoryCombo()
{
    return categoryCombo;
}
 
开发者ID:dhis2,项目名称:dhis2-core,代码行数:8,代码来源:Program.java

示例13: getPeriodType

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JsonProperty
@JsonSerialize( using = JacksonPeriodTypeSerializer.class )
@JsonDeserialize( using = JacksonPeriodTypeDeserializer.class )
@JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
@Property( PropertyType.TEXT )
public PeriodType getPeriodType()
{
    return periodType;
}
 
开发者ID:dhis2,项目名称:dhis2-core,代码行数:10,代码来源:ProgramStage.java

示例14: getPrograms

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JsonProperty
@JacksonXmlElementWrapper( localName = "programs", namespace = DxfNamespaces.DXF_2_0 )
@JacksonXmlProperty( localName = "program", namespace = DxfNamespaces.DXF_2_0 )
public List<Program> getPrograms()
{
    return programs;
}
 
开发者ID:dhis2,项目名称:dhis2-core,代码行数:8,代码来源:Metadata.java

示例15: getGroupSets

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; //导入依赖的package包/类
@JsonProperty
@JsonSerialize( contentAs = BaseIdentifiableObject.class )
@JacksonXmlElementWrapper( localName = "groupSets", namespace = DxfNamespaces.DXF_2_0 )
@JacksonXmlProperty( localName = "groupSet", namespace = DxfNamespaces.DXF_2_0 )
public Set<DataElementGroupSet> getGroupSets()
{
    return groupSets;
}
 
开发者ID:dhis2,项目名称:dhis2-core,代码行数:9,代码来源:DataElementGroup.java


注:本文中的com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。