Skip to content

Commit d115cab

Browse files
committed
PDFBOX-6113: remove unused
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1930146 13f79535-47bb-0310-9956-ffa450edef68
1 parent f35e87d commit d115cab

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

xmpbox/src/main/java/org/apache/xmpbox/type/TypeMapping.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
import org.apache.xmpbox.schema.XMPSchema;
4848
import org.apache.xmpbox.schema.XMPSchemaFactory;
4949
import org.apache.xmpbox.schema.XMPPageTextSchema;
50-
import org.apache.xmpbox.schema.XmpSchemaException;
5150

5251
public final class TypeMapping
5352
{
@@ -221,34 +220,6 @@ public PropertiesDescription getStructuredPropMapping(Types type)
221220
return structuredMappings.get(type);
222221
}
223222

224-
/**
225-
* Return the specialized schema class representation if it's known (create and add it to metadata). In other cases,
226-
* return null
227-
*
228-
* @param metadata
229-
* Metadata to link the new schema
230-
* @param namespace
231-
* The namespace URI
232-
* @param prefix The namespace prefix
233-
* @return Schema representation
234-
* @throws XmpSchemaException
235-
* When Instancing specified Object Schema failed
236-
*/
237-
public XMPSchema getAssociatedSchemaObject(XMPMetadata metadata, String namespace, String prefix)
238-
throws XmpSchemaException
239-
{
240-
if (schemaMap.containsKey(namespace))
241-
{
242-
XMPSchemaFactory factory = schemaMap.get(namespace);
243-
return factory.createXMPSchema(metadata, prefix);
244-
}
245-
else
246-
{
247-
XMPSchemaFactory factory = getSchemaFactory(namespace);
248-
return factory != null ? factory.createXMPSchema(metadata, prefix) : null;
249-
}
250-
}
251-
252223
public XMPSchemaFactory getSchemaFactory(String namespace)
253224
{
254225
return schemaMap.get(namespace);

0 commit comments

Comments
 (0)