Package org.simpleframework.xml

Examples of org.simpleframework.xml.Element.required()


      String name = (hasName) ? elementAnnotation.name() : field.getName();
      String description = (hasDescription) ? setupAnnotation.description() : field.getName();
      Class<? extends TransferPluginOptionCallback> callback = (hasCallback) ? setupAnnotation.callback() : null;
      Class<? extends TransferPluginOptionConverter> converter = (hasConverter) ? setupAnnotation.converter() : null;
      boolean required = elementAnnotation.required();
      boolean sensitive = setupAnnotation != null && setupAnnotation.sensitive();
      boolean singular = setupAnnotation != null && setupAnnotation.singular();
      boolean encrypted = field.getAnnotation(Encrypted.class) != null;

      boolean isNestedOption = TransferSettings.class.isAssignableFrom(field.getType());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.