@Root(strict = false) @Namespace(reference = "http://syncany.org/ws/1") public class BadRequestResponse extends Response { public BadRequestResponse() { super(400, -1, null); // Required } public BadRequestResponse(int requestId, String message) { super(400, requestId, message); } }
/** * This is use to apply for <code>NamespaceList</code> annotations * on the node. If there is no namespace list then this will return * and the node will be left unchanged. If however the namespace * list is not empty the the namespaces are added. * * @param node this is the node to apply the namespace list to */ private void scope(OutputNode node) { NamespaceMap map = node.getNamespaces(); for(Namespace next : scope) { String reference = next.reference(); String prefix = next.prefix(); map.setReference(reference, prefix); } }
/** * This is use to apply the <code>Namespace</code> annotations on * the node. If there is no namespace then this will return and * the node will be left unchanged. If however the namespace is * not null then the reference is applied to the specified node. * * @param node this is the node to apply the namespace to */ private void namespace(OutputNode node) { if(primary != null) { String reference = primary.reference(); node.setReference(reference); } } }
/** * This is use to apply for <code>NamespaceList</code> annotations * on the node. If there is no namespace list then this will return * and the node will be left unchanged. If however the namespace * list is not empty the the namespaces are added. * * @param node this is the node to apply the namespace list to */ private void scope(OutputNode node) { NamespaceMap map = node.getNamespaces(); for(Namespace next : scope) { String reference = next.reference(); String prefix = next.prefix(); map.setReference(reference, prefix); } }
/** * This is use to apply the <code>Namespace</code> annotations on * the node. If there is no namespace then this will return and * the node will be left unchanged. If however the namespace is * not null then the reference is applied to the specified node. * * @param node this is the node to apply the namespace to */ private void namespace(OutputNode node) { if(primary != null) { String reference = primary.reference(); node.setReference(reference); } } }
@Root(strict = false) @Namespace(reference = "http://syncany.org/ws/1") public class AlreadySyncingResponse extends Response { public AlreadySyncingResponse() { super(400, -1, null); // Required } public AlreadySyncingResponse(int requestId, String message) { super(400, requestId, message); } }
/** * This is use to apply for <code>NamespaceList</code> annotations * on the node. If there is no namespace list then this will return * and the node will be left unchanged. If however the namespace * list is not empty the the namespaces are added. * * @param node this is the node to apply the namespace list to */ private void scope(OutputNode node) { NamespaceMap map = node.getNamespaces(); for(Namespace next : scope) { String reference = next.reference(); String prefix = next.prefix(); map.setReference(reference, prefix); } }
/** * This is use to apply the <code>Namespace</code> annotations on * the node. If there is no namespace then this will return and * the node will be left unchanged. If however the namespace is * not null then the reference is applied to the specified node. * * @param node this is the node to apply the namespace to */ private void namespace(OutputNode node) { if(primary != null) { String reference = primary.reference(); node.setReference(reference); } } }
@Root(name="pluginListResponse") @Namespace(reference="http://syncany.org/plugins/1/list") public class PluginListResponse { @Element(name = "code", required = true)
@Root @Namespace(prefix = "D", reference = "DAV:") public class Protected { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root @Namespace(prefix = "D", reference = "DAV:") public class Authenticated { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root(name = "read") @Namespace(prefix = "D", reference = "DAV:") public class Read implements SimplePrivilege { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root(name = "allprop") @Namespace(prefix = "D", reference = "DAV:") public class Allprop { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root(name = "write-acl") @Namespace(prefix = "D", reference = "DAV:") public class WriteAcl implements SimplePrivilege { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root @Namespace(prefix = "D", reference = "DAV:") public class Shared { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root @Namespace(prefix = "D", reference = "DAV:") public class Collection { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root @Namespace(prefix = "D", reference = "DAV:") public class Omit { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root(name = "write-properties") @Namespace(prefix = "D", reference = "DAV:") public class WriteProperties implements SimplePrivilege { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root @Namespace(prefix = "D", reference = "DAV:") public class Unauthenticated { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root(name = "write-content") @Namespace(prefix = "D", reference = "DAV:") public class WriteContent implements SimplePrivilege { }