Package org.apache.xmpbox.type
Class PropertiesDescription
java.lang.Object
org.apache.xmpbox.type.PropertiesDescription
Represents all properties known for a specific namespace Type and attributes associated to each properties are saved
If a specific type well declared is used, this class map it to a basic type
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNewProperty
(String name, PropertyType type) Add a new property, an attributes list can be given or can be nullGet All Properties NamegetPropertyType
(String name) Return a type of a property from its qualifiedName
-
Field Details
-
types
-
-
Constructor Details
-
PropertiesDescription
public PropertiesDescription()Build PropMapping for specified namespace
-
-
Method Details
-
getPropertiesName
Get All Properties Name- Returns:
- a list of properties qualifiedName
-
addNewProperty
Add a new property, an attributes list can be given or can be null- Parameters:
name
- new property nametype
- Valuetype of the new property
-
getPropertyType
Return a type of a property from its qualifiedName- Parameters:
name
- The name of the property concerned- Returns:
- Type of property or null
-