Examples of addValueType()


Examples of org.apache.padaf.xmpbox.schema.SchemaDescription.addValueType()

    // Check value type
    String valType = "OwnType";
    String nsType = "http://test.apache.com/xap/test/";
    String prefType = "tst";
    String descType = "Test Own type";
    desc2.addValueType(valType, nsType, prefType, "must be replaced", null);
    desc2.addValueType(valType, nsType, prefType, descType, null);
    Assert.assertEquals(1, desc2.getValueTypes().size());
    PDFAValueTypeDescription value = desc2.getValueTypes().get(0);
    Assert.assertEquals(valType, value.getTypeNameValue());
    Assert.assertEquals(nsType, value.getNamespaceURIValue());
View Full Code Here

Examples of org.apache.padaf.xmpbox.schema.SchemaDescription.addValueType()

    String valType = "OwnType";
    String nsType = "http://test.apache.com/xap/test/";
    String prefType = "tst";
    String descType = "Test Own type";
    desc2.addValueType(valType, nsType, prefType, "must be replaced", null);
    desc2.addValueType(valType, nsType, prefType, descType, null);
    Assert.assertEquals(1, desc2.getValueTypes().size());
    PDFAValueTypeDescription value = desc2.getValueTypes().get(0);
    Assert.assertEquals(valType, value.getTypeNameValue());
    Assert.assertEquals(nsType, value.getNamespaceURIValue());
    Assert.assertEquals(prefType, value.getPrefixValue());
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.