Author: tilman
Date: Thu Dec 25 08:05:15 2025
New Revision: 1930842
Log:
PDFBOX-5660: fix typo, improve javadoc
Modified:
pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/type/PropertiesDescription.java
Modified:
pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/type/PropertiesDescription.java
==============================================================================
---
pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/type/PropertiesDescription.java
Thu Dec 25 08:05:09 2025 (r1930841)
+++
pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/type/PropertiesDescription.java
Thu Dec 25 08:05:15 2025 (r1930842)
@@ -27,12 +27,13 @@ import java.util.List;
import java.util.Map;
/**
- * 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
- *
+ * Represents all properties known for a specific namespace Type and
attributes associated to each
+ * properties. If a specific well declared type is used, this class maps it to
a basic type.
+ *
* @author a183132
- *
- * Attribute management pre-implemented in order to give clues to make
an attribute management system
+ *
+ * Attribute management pre-implemented in order to give clues to make an
attribute management
+ * system.
*/
public class PropertiesDescription
{
@@ -49,12 +50,24 @@ public class PropertiesDescription
}
/**
- * Get All Properties Name
+ * Get all property names
*
* @return a list of properties qualifiedName
+ * @deprecated use {@link #getPropertiesNames()}
*/
+ @Deprecated
public List<String> getPropertiesName()
{
+ return getPropertiesNames();
+ }
+
+ /**
+ * Get all property names
+ *
+ * @return a list of properties qualifiedName
+ */
+ public List<String> getPropertiesNames()
+ {
return new ArrayList<String>(types.keySet());
}