本文整理了Java中org.simpleframework.xml.Element.<init>()
方法的一些代码示例,展示了Element.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Element.<init>()
方法的具体详情如下:
包路径:org.simpleframework.xml.Element
类名称:Element
方法名:<init>
暂无
代码示例来源:origin: syncany/syncany
public class LsFolderRequest extends FolderRequest {
@Element(required = false)
private LsOperationOptions options;
public LsOperationOptions getOptions() {
return options;
}
public void setOptions(OperationOptions options) {
this.options = (LsOperationOptions)options;
}
}
代码示例来源:origin: syncany/syncany
public class RestoreFolderRequest extends FolderRequest {
@Element(required = true)
private RestoreOperationOptions options;
public RestoreOperationOptions getOptions() {
return options;
}
public void setOptions(OperationOptions options) {
this.options = (RestoreOperationOptions) options;
}
}
代码示例来源:origin: syncany/syncany
public class ApplicationLinkShortenerResponse {
@Element(name = "shortLinkId", required = true)
private String shortLinkId;
public String getShortLinkId() {
return shortLinkId;
}
}
代码示例来源:origin: syncany/syncany
public class LogFolderRequest extends FolderRequest {
@Element(required = false)
private LogOperationOptions options;
public LogOperationOptions getOptions() {
return options;
}
public void setOptions(OperationOptions options) {
this.options = (LogOperationOptions)options;
}
}
代码示例来源:origin: syncany/syncany
public class StatusFolderRequest extends FolderRequest {
@Element(required = false)
private StatusOperationOptions options;
public StatusOperationOptions getOptions() {
return options;
}
public void setOptions(OperationOptions options) {
this.options = (StatusOperationOptions)options;
}
}
代码示例来源:origin: syncany/syncany
public class GetFileHistoryFolderRequest extends FolderRequest {
@Element(required = true)
private String fileHistoryId;
public String getFileHistoryId() {
return fileHistoryId;
}
public void setFileHistoryId(String fileHistoryId) {
this.fileHistoryId = fileHistoryId;
}
}
代码示例来源:origin: syncany/syncany
public class GenlinkFolderRequest extends FolderRequest {
@Element(required = false)
private GenlinkOperationOptions options;
public GenlinkOperationOptions getOptions() {
return options;
}
public void setOptions(OperationOptions options) {
this.options = (GenlinkOperationOptions) options;
}
}
代码示例来源:origin: syncany/syncany
public class UpdateManagementRequest extends ManagementRequest {
@Element(name = "options", required = true)
private UpdateOperationOptions options;
public UpdateManagementRequest() {
// Nothing
}
public UpdateManagementRequest(UpdateOperationOptions options) {
this.options = options;
}
public UpdateOperationOptions getOptions() {
return options;
}
}
代码示例来源:origin: syncany/syncany
public class LsRemoteOperationResult implements OperationResult {
@Element(name = "unknownRemoteDatabases")
private ArrayList<DatabaseRemoteFile> unknownRemoteDatabases;
public LsRemoteOperationResult() {
// Nothing.
}
public LsRemoteOperationResult(ArrayList<DatabaseRemoteFile> unknownRemoteDatabases) {
this.unknownRemoteDatabases = unknownRemoteDatabases;
}
public List<DatabaseRemoteFile> getUnknownRemoteDatabases() {
return unknownRemoteDatabases;
}
}
代码示例来源:origin: syncany/syncany
public class ShowMessageExternalEvent extends ExternalEvent {
@Element(name = "message", required = true)
private String message;
public ShowMessageExternalEvent() {
// Nothing
}
public ShowMessageExternalEvent(String message) {
this.message = message;
}
public String getMessage() {
return message;
}
}
代码示例来源:origin: syncany/syncany
public class ConfirmUserInteractionExternalEventResponse extends ExternalEventResponse {
@Element(name = "result", required = true)
private boolean result;
public ConfirmUserInteractionExternalEventResponse() {
// Nothing
}
public ConfirmUserInteractionExternalEventResponse(boolean result) {
this.result = result;
}
public boolean getResult() {
return result;
}
}
代码示例来源:origin: syncany/syncany
public class ConnectManagementRequest extends ManagementRequest {
@Element(name = "options", required = true)
private ConnectOperationOptions options;
public ConnectManagementRequest() {
// Nothing
}
public ConnectManagementRequest(ConnectOperationOptions options) {
this.options = options;
}
public ConnectOperationOptions getOptions() {
return options;
}
}
代码示例来源:origin: syncany/syncany
public class PluginManagementRequest extends ManagementRequest {
@Element(name = "options", required = true)
private PluginOperationOptions options;
public PluginManagementRequest() {
// Nothing
}
public PluginManagementRequest(PluginOperationOptions options) {
this.options = options;
}
public PluginOperationOptions getOptions() {
return options;
}
}
代码示例来源:origin: syncany/syncany
public abstract class SyncExternalEvent extends ExternalEvent {
@Element(required = true)
private String root;
public SyncExternalEvent() {
// Nothing
}
public SyncExternalEvent(String root) {
this.root = root;
}
public String getRoot() {
return root;
}
}
代码示例来源:origin: syncany/syncany
public class InitManagementRequest extends ManagementRequest {
@Element(name = "options", required = true)
private InitOperationOptions options;
public InitManagementRequest() {
// Nothing
}
public InitManagementRequest(InitOperationOptions options) {
this.options = options;
}
public InitOperationOptions getOptions() {
return options;
}
}
代码示例来源:origin: syncany/syncany
public abstract class FolderRequest extends Request {
@Element(required = true)
private String root;
public String getRoot() {
return root;
}
public void setRoot(String root) {
this.root = root;
}
public void setOptions(OperationOptions option) {
// Nothing here
}
}
代码示例来源:origin: syncany/syncany
public class GetPasswordUserInteractionExternalEventResponse extends ExternalEventResponse {
@Element(name = "password", required = true)
private String password;
public GetPasswordUserInteractionExternalEventResponse() {
// Nothing
}
public GetPasswordUserInteractionExternalEventResponse(String password) {
this.password = password;
}
public String getPassword() {
return password;
}
}
代码示例来源:origin: syncany/syncany
public class LsRemoteEndSyncExternalEvent extends SyncExternalEvent {
@Element(name = "hasChanges", required = true)
private boolean hasChanges;
public LsRemoteEndSyncExternalEvent() {
this.hasChanges = false;
}
public LsRemoteEndSyncExternalEvent(String root, boolean hasChanges) {
super(root);
this.hasChanges = hasChanges;
}
public boolean hasChanges() {
return hasChanges;
}
}
代码示例来源:origin: syncany/syncany
public class StatusEndSyncExternalEvent extends SyncExternalEvent {
@Element(name = "hasChanges", required = true)
private boolean hasChanges;
public StatusEndSyncExternalEvent() {
this.hasChanges = false;
}
public StatusEndSyncExternalEvent(String root, boolean hasChanges) {
super(root);
this.hasChanges = hasChanges;
}
public boolean hasChanges() {
return hasChanges;
}
}
代码示例来源:origin: syncany/syncany
public static class AnotherDummyTransferSettings extends TransferSettings {
@Element(required = true)
public String noSetupAnnotation;
@Element(required = true)
@Setup(singular = true, visible = false)
public String singularNonVisible;
@Element(required = true)
@Setup(callback = TransferPluginOptionCallback.class)
public String someCallback;
@Element(required = true)
@Setup(callback = InvalidTransferPluginOptionCallback.class)
public String someInvalidCallback;
}
内容来源于网络,如有侵权,请联系作者删除!