org.simpleframework.xml.Namespace.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(10.2k)|赞(0)|评价(0)|浏览(177)

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

Namespace.<init>介绍

暂无

代码示例

代码示例来源:origin: syncany/syncany

@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);
  }
}

代码示例来源:origin: syncany/syncany

@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);
  }
}

代码示例来源:origin: syncany/syncany

@Root(name="pluginListResponse")
@Namespace(reference="http://syncany.org/plugins/1/list")
public class PluginListResponse {
  @Element(name = "code", required = true)

代码示例来源:origin: thegrizzlylabs/sardine-android

@Root
@Namespace(prefix = "D", reference = "DAV:")
public class Protected {

  
}

代码示例来源:origin: thegrizzlylabs/sardine-android

/**
 * <p>Java class for anonymous complex type.</p>
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.</p>
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@Root
@Namespace(prefix = "D", reference = "DAV:")
public class Authenticated {

}

代码示例来源:origin: thegrizzlylabs/sardine-android

/**
 * <p>Java class for anonymous complex type.</p>
 *
 * <p>The following schema fragment specifies the expected content contained within this class.</p>
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@Root(name = "read")
@Namespace(prefix = "D", reference = "DAV:")
public class Read implements SimplePrivilege {

}

代码示例来源:origin: thegrizzlylabs/sardine-android

/**
 * <p>Java class for anonymous complex type.</p>
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.</p>
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */

@Root(name = "allprop")
@Namespace(prefix = "D", reference = "DAV:")
public class Allprop {

}

代码示例来源:origin: thegrizzlylabs/sardine-android

/**
 * <p>Java class for anonymous complex type.</p>
 *
 * <p>The following schema fragment specifies the expected content contained within this class.</p>
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@Root(name = "write-acl")
@Namespace(prefix = "D", reference = "DAV:")
public class WriteAcl implements SimplePrivilege {

}

代码示例来源:origin: thegrizzlylabs/sardine-android

/**
 * <p>Java class for anonymous complex type.</p>
 *
 * <p>The following schema fragment specifies the expected content contained within this class.</p>
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@Root
@Namespace(prefix = "D", reference = "DAV:")
public class Shared {

}

代码示例来源:origin: thegrizzlylabs/sardine-android

/**
 * <p>Java class for anonymous complex type.</p>
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.</p>
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@Root
@Namespace(prefix = "D", reference = "DAV:")
public class Collection {

}

代码示例来源:origin: thegrizzlylabs/sardine-android

/**
 * <p>Java class for anonymous complex type.</p>
 *
 * <p>The following schema fragment specifies the expected content contained within this class.</p>
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@Root
@Namespace(prefix = "D", reference = "DAV:")
public class Omit {

}

代码示例来源:origin: thegrizzlylabs/sardine-android

/**
 * <p>Java class for anonymous complex type.</p>
 *
 * <p>The following schema fragment specifies the expected content contained within this class.</p>
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@Root(name = "write-properties")
@Namespace(prefix = "D", reference = "DAV:")
public class WriteProperties implements SimplePrivilege {

}

代码示例来源:origin: thegrizzlylabs/sardine-android

/**
 * <p>Java class for anonymous complex type.</p>
 *
 * <p>The following schema fragment specifies the expected content contained within this class.</p>
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@Root
@Namespace(prefix = "D", reference = "DAV:")
public class Unauthenticated {

}

代码示例来源:origin: thegrizzlylabs/sardine-android

/**
 * <p>Java class for anonymous complex type.</p>
 *
 * <p>The following schema fragment specifies the expected content contained within this class.</p>
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@Root(name = "write-content")
@Namespace(prefix = "D", reference = "DAV:")
public class WriteContent implements SimplePrivilege {

}

代码示例来源:origin: thegrizzlylabs/sardine-android

/**
 * <p>Java class for anonymous complex type.</p>
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.</p>
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@Root
@Namespace(prefix = "D", reference = "DAV:")
public class Exclusive {

}

代码示例来源:origin: thegrizzlylabs/sardine-android

@Root
@Namespace(prefix = "D", reference = "DAV:")
public class Inherited {

  @Element
  private String href;

  public String getHref() {
    return href;
  }

  public void setHref(String href) {
    this.href = href;
  }
  
}

代码示例来源:origin: wmixvideo/nfe

@Root(name = "infNFeSupl")
@Namespace(reference = "http://www.portalfiscal.inf.br/nfe")
public class NFNotaInfoSuplementar extends DFBase {
  private static final long serialVersionUID = -7212144193264841151L;

  @Element(data = true, name = "qrCode", required = true)
  private String qrCode;

  public void setQrCode(final String qrCode) {
    StringValidador.tamanho100a600(qrCode, "QR Code");
    this.qrCode = qrCode;
  }

  public String getQrCode() {
    return this.qrCode;
  }
}

代码示例来源:origin: wmixvideo/nfe

@Root(name = "ConsCad")
@Namespace(reference = "http://www.portalfiscal.inf.br/nfe")
public class NFConsultaCadastro extends DFBase {
  private static final long serialVersionUID = 2326624765798718455L;

  @Attribute(name = "versao", required = true)
  private String versao;

  @Element(name = "infCons", required = true)
  private NFInfoConsultaCadastro consultaCadastro;

  public NFInfoConsultaCadastro getConsultaCadastro() {
    return this.consultaCadastro;
  }

  public String getVersao() {
    return this.versao;
  }

  public void setConsultaCadastro(final NFInfoConsultaCadastro consultaCadastro) {
    this.consultaCadastro = consultaCadastro;
  }

  public void setVersao(final String versao) {
    this.versao = versao;
  }
}

代码示例来源:origin: wmixvideo/nfe

@Root(name = "CTe")
@Namespace(reference = "http://www.portalfiscal.inf.br/nfe")
public class CTe extends DFBase {
  private static final long serialVersionUID = 3664459758546162479L;

  @Element(name = "infCte", required = true)
  private CTInfo infCte;

  @Element(name = "Signature", required = false)
  private NFSignature assinatura;

  public CTInfo getInfCte() {
    return this.infCte;
  }

  public void setInfCte(final CTInfo infCte) {
    this.infCte = infCte;
  }

  public NFSignature getAssinatura() {
    return this.assinatura;
  }

  public void setAssinatura(final NFSignature assinatura) {
    this.assinatura = assinatura;
  }

}

代码示例来源:origin: wmixvideo/nfe

@Root(name = "ConsCad")
@Namespace(reference = "http://www.portalfiscal.inf.br/nfe")
public class NFConsultaCadastro extends DFBase {
  private static final long serialVersionUID = 2326624765798718455L;

  @Attribute(name = "versao", required = true)
  private String versao;

  @Element(name = "infCons", required = true)
  private NFInfoConsultaCadastro consultaCadastro;

  public NFInfoConsultaCadastro getConsultaCadastro() {
    return this.consultaCadastro;
  }

  public String getVersao() {
    return this.versao;
  }

  public void setConsultaCadastro(final NFInfoConsultaCadastro consultaCadastro) {
    this.consultaCadastro = consultaCadastro;
  }

  public void setVersao(final String versao) {
    this.versao = versao;
  }
}

相关文章

Namespace类方法