public ChoiceType createChoice(String namespaceURI, String prefix, String propertyName, String value) { return new ChoiceType(metadata, namespaceURI, prefix, propertyName, value); }
public String getCategory() { ChoiceType tt = (ChoiceType) getProperty(CATEGORY); return tt == null ? null : tt.getStringValue(); }
public ChoiceType createChoice(String namespaceURI, String prefix, String propertyName, String value) { return new ChoiceType(metadata, namespaceURI, prefix, propertyName, value); }
public String getValueType() { ChoiceType tt = (ChoiceType) getProperty(VALUETYPE); return tt == null ? null : tt.getStringValue(); }
public ChoiceType createChoice(String namespaceURI, String prefix, String propertyName, String value) { return new ChoiceType(metadata, namespaceURI, prefix, propertyName, value); }
public String getValueType() { ChoiceType tt = (ChoiceType) getProperty(VALUETYPE); return tt == null ? null : tt.getStringValue(); }
private DefinedStructuredType addProperty(ArrayProperty parent, String name, String type, String category, String description) { XMPMetadata metadata = getMetadata(); DefinedStructuredType li = new DefinedStructuredType(metadata, getNamespace(), getPrefix(), XmpConstants.LIST_NAME); li.setAttribute(new Attribute(getNamespace(), XmpConstants.PARSE_TYPE, XmpConstants.RESOURCE_NAME)); ChoiceType pdfa2 = new ChoiceType(metadata, xmlns_pdfaProperty, prefix_pdfaProperty, PDFAPropertyType.NAME, name); li.addProperty(pdfa2); pdfa2 = new ChoiceType(metadata, xmlns_pdfaProperty, prefix_pdfaProperty, PDFAPropertyType.VALUETYPE, type); li.addProperty(pdfa2); pdfa2 = new ChoiceType(metadata, xmlns_pdfaProperty, prefix_pdfaProperty, PDFAPropertyType.CATEGORY, category); li.addProperty(pdfa2); pdfa2 = new ChoiceType(metadata, xmlns_pdfaProperty, prefix_pdfaProperty, PDFAPropertyType.DESCRIPTION, description); li.addProperty(pdfa2); parent.addProperty(li); return li; }
public String getCategory() { ChoiceType tt = (ChoiceType) getProperty(CATEGORY); return tt == null ? null : tt.getStringValue(); }
public String getCategory() { ChoiceType tt = (ChoiceType) getProperty(CATEGORY); return tt == null ? null : tt.getStringValue(); }
public String getValueType() { ChoiceType tt = (ChoiceType) getProperty(VALUETYPE); return tt == null ? null : tt.getStringValue(); }