org.nuxeo.common.xmap.annotation.XObject.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-02 转载在 其他  
字(5.1k)|赞(0)|评价(0)|浏览(125)

本文整理了Java中org.nuxeo.common.xmap.annotation.XObject.<init>()方法的一些代码示例,展示了XObject.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XObject.<init>()方法的具体详情如下:
包路径:org.nuxeo.common.xmap.annotation.XObject
类名称:XObject
方法名:<init>

XObject.<init>介绍

暂无

代码示例

代码示例来源:origin: org.nuxeo.ecm.core/nuxeo-core-api

/**
 * Descriptor to contribute a {@link PathSegmentService}.
 */
@XObject("service")
public class PathSegmentServiceDescriptor implements Serializable {

  private static final long serialVersionUID = 1L;

  @XNode("@class")
  protected String className;

}

代码示例来源:origin: org.nuxeo.ecm.core/nuxeo-core-api

/**
 * @since 5.6
 */
@XObject("mapping")
public class PropertiesMappingDescriptor {

  @XNode("@name")
  protected String name;

  @XNodeMap(value = "property", key = "@path", type = HashMap.class, componentType = String.class)
  protected Map<String, String> properties = new HashMap<String, String>();

  public String getName() {
    return name;
  }

  public Map<String, String> getProperties() {
    return properties;
  }
}

代码示例来源:origin: org.nuxeo.ecm.core/nuxeo-core-api

@XObject("validation")
public class DocumentValidationDescriptor {

代码示例来源:origin: org.nuxeo.ecm.core/nuxeo-core-api

@XObject(value = BinaryManagerRootDescriptor.BINARY_STORE)
public class BinaryManagerRootDescriptor {

代码示例来源:origin: org.nuxeo.ecm.core/nuxeo-core-api

@XObject("adapter")
public class DocumentAdapterDescriptor {

代码示例来源:origin: org.nuxeo.ecm.core/nuxeo-core-api

@XObject("adapter")
public class ExternalBlobAdapterDescriptor {

代码示例来源:origin: org.nuxeo.ecm.core/nuxeo-core-api

@XObject("repository")
public class Repository {

代码示例来源:origin: org.nuxeo.ecm.core/nuxeo-core-api

@XObject(value = "blobprovider")
public class BlobProviderDescriptor {

代码示例来源:origin: org.nuxeo.ecm.core/nuxeo-core-api

@XObject("thumbnailFactory")
public class ThumbnailFactoryDescriptor implements Serializable {

代码示例来源:origin: org.nuxeo.ecm.core/nuxeo-core-api

@XObject("blobHolderFactory")
public class BlobHolderFactoryDescriptor implements Serializable {

代码示例来源:origin: org.nuxeo.ecm.webengine/nuxeo-webengine-core

/**
 * Obsolete since 8.4, transactions are always active.
 */
@XObject("path")
public class PathDescriptor {

}

代码示例来源:origin: org.nuxeo.ecm.platform/nuxeo-platform-query-api

/**
 * @since 6.0
 */
@XObject("propertyList")
public class PropertyListDescriptor implements Serializable {

  private static final long serialVersionUID = 1L;

  @XNodeList(value = "value", type = String[].class, componentType = String.class)
  String[] values = new String[0];

  public String[] getValues() {
    return values;
  }

}

代码示例来源:origin: org.nuxeo.ecm.platform/nuxeo-platform-notification-core

/**
 * @author <a href="mailto:npaslaru@nuxeo.com">Narcis Paslaru</a>
 */
@XObject("event")
public class NotificationEventDescriptor {

  @XNode("@name")
  protected String name;

}

代码示例来源:origin: org.nuxeo.ecm.platform/nuxeo-platform-htmlsanitizer

@XObject("antisamy")
public class HtmlSanitizerAntiSamyDescriptor {

  @XNode("@policy")
  public String policy;

}

代码示例来源:origin: org.nuxeo.ecm.platform/nuxeo-platform-forms-layout-core

/**
 * @since 5.5
 */
@XObject("renderingInfos")
public class RenderingInfosDescriptor {

  @XNodeList(value = "renderingInfo", type = ArrayList.class, componentType = RenderingInfoDescriptor.class)
  List<RenderingInfoDescriptor> renderingInfos;

  public List<RenderingInfoDescriptor> getRenderingInfos() {
    return renderingInfos;
  }

}

代码示例来源:origin: org.nuxeo.ecm.core/nuxeo-core

/**
 * Descriptor to contribute a new {@link VersioningService}.
 */
@XObject("service")
public class VersioningServiceDescriptor implements Serializable {

  private static final long serialVersionUID = 1L;

  @XNode("@class")
  protected String className;

}

代码示例来源:origin: org.nuxeo.ecm.platform/nuxeo-platform-web-common

/**
 * @author arussel
 */
@XObject("listener")
public class ListenerDescriptor {

  @XNode("@class")
  private Class<? extends ExceptionHandlingListener> klass;

  public Class<? extends ExceptionHandlingListener> getKlass() {
    return klass;
  }

}

代码示例来源:origin: org.nuxeo.ecm.platform/nuxeo-platform-filemanager-core

/**
 * @since 5.7
 * @deprecated since 9.1 automatic versioning mechanism has been moved to versioning service
 */
@Deprecated
@XObject("versioning")
public class VersioningDescriptor implements Serializable {

  private static final long serialVersionUID = 8615121233156981874L;

  @XNode("defaultVersioningOption")
  public String defaultVersioningOption;

  @XNode("versionAfterAdd")
  public Boolean versionAfterAdd;

}

代码示例来源:origin: org.nuxeo.ecm.platform/nuxeo-platform-directory-ldap

@XObject(value = "entryAdaptor")
public static class EntryAdaptorDescriptor {
  @XNode("@class")
  public Class<? extends EntryAdaptor> adaptorClass;
  @XNodeMap(value = "parameter", key = "@name", type = HashMap.class, componentType = String.class)
  public Map<String, String> parameters;
}

代码示例来源:origin: org.nuxeo.ecm.core/nuxeo-core

@XObject("option")
protected static class OptionDescriptor implements Serializable {
  private static final long serialVersionUID = 1L;
  @XNode("@default")
  protected boolean defaultOpt;
  @XNode
  protected VersioningOption option;
}

相关文章

XObject类方法