Package org.apache.xmpbox.type

Examples of org.apache.xmpbox.type.PDFAPropertyType


                        }
                        for (AbstractField af2 : properties.getAllProperties())
                        {
                            if (af2 instanceof PDFAPropertyType)
                            {
                                PDFAPropertyType property = (PDFAPropertyType) af2;
                                String pname = property.getName();
                                String ptype = property.getValueType();
                                String pdescription = property.getDescription();
                                String pCategory = property.getCategory();
                                // check all mandatory fields are OK
                                if (pname == null || ptype == null || pdescription == null || pCategory == null)
                                {
                                    // all fields are mandatory
                                    throw new XmpParsingException(ErrorType.RequiredProperty,
View Full Code Here


                        // populate properties
                        for (AbstractField af2 : properties.getAllProperties())
                        {
                            if (af2 instanceof PDFAPropertyType)
                            {
                                PDFAPropertyType property = (PDFAPropertyType) af2;
                                String pname = property.getName();
                                String ptype = property.getValueType();
                                String pdescription = property.getDescription();
                                String pCategory = property.getCategory();
                                // check all mandatory fields are OK
                                if (pname == null || ptype == null || pdescription == null || pCategory == null)
                                {
                                    // all fields are mandatory
                                    throw new XmpParsingException(ErrorType.RequiredProperty,
View Full Code Here

TOP

Related Classes of org.apache.xmpbox.type.PDFAPropertyType

Copyright © 2018 www.massapicom. 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.