/** * Set the PDF/A Version identifier * * @param part * set the PDF/A Version id property */ public void setPartProperty(IntegerType part) { addProperty(part); }
/** * Set the PDF/A amendment identifier * * @param amd * The amendment identifier property to set */ public void setAmdProperty(TextType amd) { addProperty(amd); }
/** * Set the PDFA Version identifier (with string) * * @param value * The version Id value to set * */ public void setPartValueWithString(String value) { IntegerType part = (IntegerType) instanciateSimple(PART, value); addProperty(part); }
/** * Set the PDFA Version identifier (with an int) * * @param value * The version Id value to set */ public void setPartValueWithInt(int value) { IntegerType part = (IntegerType) instanciateSimple(PART, value); addProperty(part); }
/** * Set the PDF/A amendment identifier * * @param value * The amendment identifier value to set */ public void setAmd(String value) { TextType amd = createTextType(AMD, value); addProperty(amd); }
/** * Set the PDF/A conformance level * * @param value * The conformance level value to set * @throws BadFieldValueException * If Conformance Value not 'A', 'B' or 'U' (PDF/A-2 and PDF/A-3) */ public void setConformance(String value) throws BadFieldValueException { if (value.equals("A") || value.equals("B") || value.equals("U")) { TextType conf = createTextType(CONFORMANCE, value); addProperty(conf); } else { throw new BadFieldValueException( "The property given not seems to be a PDF/A conformance level (must be A, B or U)"); } }
/** * Set the PDF/A conformance level * * @param conf * The conformance level property to set * @throws BadFieldValueException * If Conformance Value not 'A', 'B' or 'U' (PDF/A-2 and PDF/A-3) */ public void setConformanceProperty(TextType conf) throws BadFieldValueException { String value = conf.getStringValue(); if (value.equals("A") || value.equals("B") || value.equals("U")) { addProperty(conf); } else { throw new BadFieldValueException( "The property given not seems to be a PDF/A conformance level (must be A, B or U)"); } }
/** * Set the PDF/A amendment identifier * * @param amd * The amendment identifier property to set */ public void setAmdProperty(TextType amd) { addProperty(amd); }
/** * Set the PDF/A Version identifier * * @param part * set the PDF/A Version id property */ public void setPartProperty(IntegerType part) { addProperty(part); }
/** * Set the PDF/A Version identifier * * @param part * set the PDF/A Version id property */ public void setPartProperty(IntegerType part) { addProperty(part); }
/** * Set the PDF/A amendment identifier * * @param amd * The amendment identifier property to set */ public void setAmdProperty(TextType amd) { addProperty(amd); }
/** * Set the PDFA Version identifier (with an int) * * @param value * The version Id value to set */ public void setPartValueWithInt(int value) { IntegerType part = (IntegerType) instanciateSimple(PART, value); addProperty(part); }
/** * Set the PDFA Version identifier (with an int) * * @param value * The version Id value to set */ public void setPartValueWithInt(int value) { IntegerType part = (IntegerType) instanciateSimple(PART, value); addProperty(part); }
/** * Set the PDFA Version identifier (with string) * * @param value * The version Id value to set * */ public void setPartValueWithString(String value) { IntegerType part = (IntegerType) instanciateSimple(PART, value); addProperty(part); }
/** * Set the PDF/A amendment identifier * * @param value * The amendment identifier value to set */ public void setAmd(String value) { TextType amd = createTextType(AMD, value); addProperty(amd); }
/** * Set the PDFA Version identifier (with string) * * @param value * The version Id value to set * */ public void setPartValueWithString(String value) { IntegerType part = (IntegerType) instanciateSimple(PART, value); addProperty(part); }
/** * Set the PDF/A amendment identifier * * @param value * The amendment identifier value to set */ public void setAmd(String value) { TextType amd = createTextType(AMD, value); addProperty(amd); }
/** * Set the PDF/A conformance level * * @param value * The conformance level value to set * @throws BadFieldValueException * If Conformance Value not 'A', 'B' or 'U' (PDF/A-2 and PDF/A-3) */ public void setConformance(String value) throws BadFieldValueException { if (value.equals("A") || value.equals("B") || value.equals("U")) { TextType conf = createTextType(CONFORMANCE, value); addProperty(conf); } else { throw new BadFieldValueException( "The property given not seems to be a PDF/A conformance level (must be A, B or U)"); } }
/** * Set the PDF/A conformance level * * @param conf * The conformance level property to set * @throws BadFieldValueException * If Conformance Value not 'A', 'B' or 'U' (PDF/A-2 and PDF/A-3) */ public void setConformanceProperty(TextType conf) throws BadFieldValueException { String value = conf.getStringValue(); if (value.equals("A") || value.equals("B") || value.equals("U")) { addProperty(conf); } else { throw new BadFieldValueException( "The property given not seems to be a PDF/A conformance level (must be A, B or U)"); } }
/** * Set the PDF/A conformance level * * @param conf * The conformance level property to set * @throws BadFieldValueException * If Conformance Value not 'A', 'B' or 'U' (PDF/A-2 and PDF/A-3) */ public void setConformanceProperty(TextType conf) throws BadFieldValueException { String value = conf.getStringValue(); if (value.equals("A") || value.equals("B") || value.equals("U")) { addProperty(conf); } else { throw new BadFieldValueException( "The property given not seems to be a PDF/A conformance level (must be A, B or U)"); } }