Examples of PropertyOptions


Examples of com.itextpdf.xmp.options.PropertyOptions

    ParameterAsserts.assertSchemaNS(schemaNS);
    ParameterAsserts.assertArrayName(arrayName);

    if (arrayOptions == null)
    {
      arrayOptions = new PropertyOptions();
    }
    if (!arrayOptions.isOnlyArrayOptions())
    {
      throw new XMPException("Only array form flags allowed for arrayOptions",
          XMPError.BADOPTIONS);
View Full Code Here

Examples of com.itextpdf.xmp.options.PropertyOptions

    specificLang = Utils.normalizeLangValue(specificLang);

    XMPPath arrayPath = XMPPathParser.expandXPath(schemaNS, altTextName);

    // Find the array node and set the options if it was just created.
    XMPNode arrayNode = XMPNodeUtils.findNode(tree, arrayPath, true, new PropertyOptions(
        PropertyOptions.ARRAY | PropertyOptions.ARRAY_ORDERED
            | PropertyOptions.ARRAY_ALTERNATE | PropertyOptions.ARRAY_ALT_TEXT));

    if (arrayNode == null)
    {
View Full Code Here

Examples of com.itextpdf.xmp.options.PropertyOptions

    public void createXmpMetadata() {
        try {
            xmpWriter = createXmpWriter(null, pdf.getInfo());
            if (isTagged()) {
                try {
                    xmpWriter.getXmpMeta().setPropertyInteger(XMPConst.NS_PDFUA_ID, PdfProperties.PART, 1, new PropertyOptions(PropertyOptions.SEPARATE_NODE));
                } catch (XMPException e) {
                    throw new ExceptionConverter(e);
                }
            }
            xmpMetadata = null;
View Full Code Here

Examples of org.jclouds.abiquo.domain.config.options.PropertyOptions

      return wrap(context, SystemProperty.class, result.getCollection());
   }

   @Override
   public SystemProperty getSystemProperty(final String name) {
      PropertyOptions options = PropertyOptions.builder().name(name).build();
      SystemPropertiesDto result = context.getApi().getConfigApi().listSystemProperties(options);
      return getFirst(wrap(context, SystemProperty.class, result.getCollection()), null);
   }
View Full Code Here

Examples of org.jclouds.abiquo.domain.config.options.PropertyOptions

      return getFirst(wrap(context, SystemProperty.class, result.getCollection()), null);
   }

   @Override
   public Iterable<SystemProperty> listSystemProperties(final String component) {
      PropertyOptions options = PropertyOptions.builder().component(component).build();
      SystemPropertiesDto result = context.getApi().getConfigApi().listSystemProperties(options);
      return wrap(context, SystemProperty.class, result.getCollection());
   }
View Full Code Here

Examples of org.jclouds.abiquo.domain.config.options.PropertyOptions

      return wrap(context, SystemProperty.class, result.getCollection());
   }

   @Override
   public SystemProperty getSystemProperty(final String name) {
      PropertyOptions options = PropertyOptions.builder().name(name).build();
      SystemPropertiesDto result = context.getApi().getConfigApi().listSystemProperties(options);
      return getFirst(wrap(context, SystemProperty.class, result.getCollection()), null);
   }
View Full Code Here

Examples of org.jclouds.abiquo.domain.config.options.PropertyOptions

      return getFirst(wrap(context, SystemProperty.class, result.getCollection()), null);
   }

   @Override
   public Iterable<SystemProperty> listSystemProperties(final String component) {
      PropertyOptions options = PropertyOptions.builder().component(component).build();
      SystemPropertiesDto result = context.getApi().getConfigApi().listSystemProperties(options);
      return wrap(context, SystemProperty.class, result.getCollection());
   }
View Full Code Here

Examples of org.jclouds.abiquo.domain.config.options.PropertyOptions

      return getFirst(listSystemProperties(filter), null);
   }

   @Override
   public SystemProperty getSystemProperty(final String name) {
      PropertyOptions options = PropertyOptions.builder().name(name).build();
      SystemPropertiesDto result = context.getApi().getConfigApi().listSystemProperties(options);
      return getFirst(wrap(context, SystemProperty.class, result.getCollection()), null);
   }
View Full Code Here

Examples of org.jclouds.abiquo.domain.config.options.PropertyOptions

      return getFirst(wrap(context, SystemProperty.class, result.getCollection()), null);
   }

   @Override
   public Iterable<SystemProperty> listSystemProperties(final String component) {
      PropertyOptions options = PropertyOptions.builder().component(component).build();
      SystemPropertiesDto result = context.getApi().getConfigApi().listSystemProperties(options);
      return wrap(context, SystemProperty.class, result.getCollection());
   }
View Full Code Here

Examples of org.joget.plugin.property.model.PropertyOptions

                        String clazzName = node.getTextContent();
                        Node optionsNode = doc.createElement("options");

                        Class clazz = Class.forName(clazzName);
                        PropertyOptions optionClass = (PropertyOptions) clazz.newInstance();
                        Map optionMap = optionClass.toOptionsMap();

                        for (Object obj : optionMap.entrySet()) {
                            Map.Entry entry = (Map.Entry) obj;
                            Node option = doc.createElement("option");
                            Node value = doc.createElement("value");
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.