Codota Logo
Text.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.simpleframework.xml.Text
constructor

Best Java code snippets using org.simpleframework.xml.Text.<init> (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: holodeck-b2b/Holodeck-B2B

/**
 * Represents an element in the P-Mode XML document with type <code>KeyReferenceMethods</code>. Converts the strings
 * used in the XML document to equivalent value of {@link X509ReferenceType} enumeration.
 *
 * @author Sander Fieten (sander at holodeck-b2b.org)
 */
class KeyReferenceMethod {

  private static final String ISSUER_SERIAL = "IssuerSerial";
  private static final String BST_REFERENCE = "BSTReference";
  private static final String SKI = "KeyIdentifier";

  @Text
  String  referenceMethod = null;

  X509ReferenceType   getRefMethod() {
    if (BST_REFERENCE.equals(referenceMethod))
      return X509ReferenceType.BSTReference;
    else if (SKI.equals(referenceMethod))
      return X509ReferenceType.KeyIdentifier;
    else
      return X509ReferenceType.IssuerAndSerial;
  }

}

origin: holodeck-b2b/Holodeck-B2B

/**
 *  Represents the password element with type attribute
 */
static class Password {
  @Text(required = true)
  private String value;
  @Attribute(required = false)
  private String type = "Digest";
}
origin: holodeck-b2b/Holodeck-B2B

/**
 * Represents a <code>KeystoreAlias</code> element in the P-Mode XML document that contains a reference to a certificate
 * in one of the keystores. The reference consists of at least the alias that is used to identify the certificate in the
 * keystore and optionally a password to access the private key from the certificate.
 *
 * @author Sander Fieten (sander at holodeck-b2b.org)
 */
class KeystoreAlias {

  @Text
  String  name = null;

  @Attribute(required = false)
  String  password = null;
}

origin: holodeck-b2b/Holodeck-B2B

/**
 * Represents the configuration for the <b>PMode.id</b> parameter.
 *
 * @author Sander Fieten (sander at holodeck-b2b.org)
 * @author Bram Bakx (bram at holodeck-b2b.org)
 */
class PModeId {

  /**
   * Identifies the PMode uniquely
   */
  @Text
  String  id;

  /**
   * Specifies if the PMode ID should be included in the actual message
   */
  @Attribute(required = false)
  Boolean include = false;

}

origin: com.carrotsearch.randomizedtesting/junit4-ant

public class FailureModel {
 @Attribute
 public String message;

 @Attribute
 public String type;

 @Text
 public String text;
}

origin: ngallagher/simpleframework

@Root
private static class Header {
 @Attribute
 private String name;
 @Text
 private String value;
 
 private String getName(){
   return name;
 }
 
 public void append(StringBuilder builder){
   builder.append(name).append(": ").append(value).append("\r\n");
 }
}
origin: randomizedtesting/randomizedtesting

public class FailureModel {
 @Attribute
 public String message;

 @Attribute
 public String type;

 @Text
 public String text;
}

origin: holodeck-b2b/Holodeck-B2B

@Text
private String      name;
origin: ngallagher/simpleframework

  @Root
  private static class Expect{
   @Attribute
   private String name;
   @Text
   private String value;
   
   public void check(Map<String, String> response) {
     String text = response.get(name);
          if(value == null) {
      throw new IllegalStateException("Response does not contain header '"+name+"'");
     }
     if(!value.equals(text)) {
      throw new IllegalStateException("Response header value '"+text+"' does not match expectation '"+value+"'");  
     }
   }
  }
}
origin: holodeck-b2b/Holodeck-B2B

@Text
private String  id;
origin: dnmilne/wikipediaminer

public static class Namespace {
  
  @Attribute
  private int key ;
  
  @Attribute(name="case") 
  private String caseRule ;
  
  @Text(required=false)
  private String name ;
  
  
  public int getKey() {
    return key;
  }
  
  public String getCaseRule() {
    return caseRule;
  }
  
  public String getName() {
    if (name == null)
      return "" ;
    else
      return name;
  }
  
}

origin: holodeck-b2b/Holodeck-B2B

@Text
private String  value;
origin: holodeck-b2b/Holodeck-B2B

@Text
private String  text;
origin: holodeck-b2b/Holodeck-B2B

@Text(required = false)
private String      name;
origin: holodeck-b2b/Holodeck-B2B

public class PartyId implements IPartyId {
  @Text
  private String  id;
origin: wmixvideo/nfe

private static final long serialVersionUID = 3028041532565616921L;
@Text
private String value;
origin: wmixvideo/nfe

private static final long serialVersionUID = -6656266954109936292L;
@Text
private String value;
origin: eroispaziali/ForceFlow

private String message;
@Text
private String value;
origin: crazyhitty/Rss-Manager

private String contentType;
@Text(required = false)
private String link;
origin: jorabin/KeePassJava2

  @Root(name="Value")
  public static class Value {
    public Value(){
      this("");
    }
    public Value(String text) {
      this.text = text;
      this._protected = false;
    }
    public Value(String text, Boolean _protected) {
      this._protected = _protected;
      this.text = text;
    }
    @Attribute(name = "ProtectInMemory", required = false)
    @Convert(KeePassBooleanConverter.class)
    // NB converters don't work on attributes -see KdbxOutputTransformer
    protected Boolean protectInMemory;
    @Attribute(name = "Protected", required = false)
    @Convert(KeePassBooleanConverter.class)
    // NB converters don't work on attributes -see KdbxOutputTransformer
    Boolean _protected;
    @Text
    String text;
    public void setProtected(boolean aProtected) {
      this._protected = aProtected;
    }
  }
}
org.simpleframework.xmlText<init>

Popular methods of Text

  • data
  • empty
  • required

Popular in Java

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now