You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by gb...@apache.org on 2012/07/28 10:07:41 UTC
svn commit: r1366607 - in
/pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type:
AgentNameType.java ChoiceType.java GUIDType.java LocaleType.java
MIMEType.java PartType.java ProperNameType.java URIType.java URLType.java
XPathType.java
Author: gbailleul
Date: Sat Jul 28 08:07:40 2012
New Revision: 1366607
URL: http://svn.apache.org/viewvc?rev=1366607&view=rev
Log:
PDFBOX-1343: added derived types
Added:
pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/AgentNameType.java
pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/ChoiceType.java
pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/GUIDType.java
pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/LocaleType.java
pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/MIMEType.java
pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/PartType.java
pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/ProperNameType.java
pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/URIType.java
pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/URLType.java
pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/XPathType.java
Added: pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/AgentNameType.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/AgentNameType.java?rev=1366607&view=auto
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/AgentNameType.java (added)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/AgentNameType.java Sat Jul 28 08:07:40 2012
@@ -0,0 +1,33 @@
+/*****************************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ ****************************************************************************/
+
+package org.apache.padaf.xmpbox.type;
+
+import org.apache.padaf.xmpbox.XMPMetadata;
+
+public class AgentNameType extends TextType {
+
+ public AgentNameType(XMPMetadata metadata, String namespaceURI,
+ String prefix, String propertyName, Object value) {
+ super(metadata, namespaceURI, prefix, propertyName, value);
+ }
+
+}
Added: pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/ChoiceType.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/ChoiceType.java?rev=1366607&view=auto
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/ChoiceType.java (added)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/ChoiceType.java Sat Jul 28 08:07:40 2012
@@ -0,0 +1,33 @@
+/*****************************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ ****************************************************************************/
+
+package org.apache.padaf.xmpbox.type;
+
+import org.apache.padaf.xmpbox.XMPMetadata;
+
+public class ChoiceType extends TextType {
+
+ public ChoiceType(XMPMetadata metadata, String namespaceURI,
+ String prefix, String propertyName, Object value) {
+ super(metadata, namespaceURI, prefix, propertyName, value);
+ }
+
+}
Added: pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/GUIDType.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/GUIDType.java?rev=1366607&view=auto
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/GUIDType.java (added)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/GUIDType.java Sat Jul 28 08:07:40 2012
@@ -0,0 +1,33 @@
+/*****************************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ ****************************************************************************/
+
+package org.apache.padaf.xmpbox.type;
+
+import org.apache.padaf.xmpbox.XMPMetadata;
+
+public class GUIDType extends TextType {
+
+ public GUIDType(XMPMetadata metadata, String namespaceURI,
+ String prefix, String propertyName, Object value) {
+ super(metadata, namespaceURI, prefix, propertyName, value);
+ }
+
+}
Added: pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/LocaleType.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/LocaleType.java?rev=1366607&view=auto
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/LocaleType.java (added)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/LocaleType.java Sat Jul 28 08:07:40 2012
@@ -0,0 +1,33 @@
+/*****************************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ ****************************************************************************/
+
+package org.apache.padaf.xmpbox.type;
+
+import org.apache.padaf.xmpbox.XMPMetadata;
+
+public class LocaleType extends TextType {
+
+ public LocaleType(XMPMetadata metadata, String namespaceURI,
+ String prefix, String propertyName, Object value) {
+ super(metadata, namespaceURI, prefix, propertyName, value);
+ }
+
+}
Added: pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/MIMEType.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/MIMEType.java?rev=1366607&view=auto
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/MIMEType.java (added)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/MIMEType.java Sat Jul 28 08:07:40 2012
@@ -0,0 +1,33 @@
+/*****************************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ ****************************************************************************/
+
+package org.apache.padaf.xmpbox.type;
+
+import org.apache.padaf.xmpbox.XMPMetadata;
+
+public class MIMEType extends TextType {
+
+ public MIMEType(XMPMetadata metadata, String namespaceURI,
+ String prefix, String propertyName, Object value) {
+ super(metadata, namespaceURI, prefix, propertyName, value);
+ }
+
+}
Added: pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/PartType.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/PartType.java?rev=1366607&view=auto
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/PartType.java (added)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/PartType.java Sat Jul 28 08:07:40 2012
@@ -0,0 +1,33 @@
+/*****************************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ ****************************************************************************/
+
+package org.apache.padaf.xmpbox.type;
+
+import org.apache.padaf.xmpbox.XMPMetadata;
+
+public class PartType extends TextType {
+
+ public PartType(XMPMetadata metadata, String namespaceURI,
+ String prefix, String propertyName, Object value) {
+ super(metadata, namespaceURI, prefix, propertyName, value);
+ }
+
+}
Added: pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/ProperNameType.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/ProperNameType.java?rev=1366607&view=auto
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/ProperNameType.java (added)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/ProperNameType.java Sat Jul 28 08:07:40 2012
@@ -0,0 +1,33 @@
+/*****************************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ ****************************************************************************/
+
+package org.apache.padaf.xmpbox.type;
+
+import org.apache.padaf.xmpbox.XMPMetadata;
+
+public class ProperNameType extends TextType {
+
+ public ProperNameType(XMPMetadata metadata, String namespaceURI,
+ String prefix, String propertyName, Object value) {
+ super(metadata, namespaceURI, prefix, propertyName, value);
+ }
+
+}
Added: pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/URIType.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/URIType.java?rev=1366607&view=auto
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/URIType.java (added)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/URIType.java Sat Jul 28 08:07:40 2012
@@ -0,0 +1,33 @@
+/*****************************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ ****************************************************************************/
+
+package org.apache.padaf.xmpbox.type;
+
+import org.apache.padaf.xmpbox.XMPMetadata;
+
+public class URIType extends TextType {
+
+ public URIType(XMPMetadata metadata, String namespaceURI,
+ String prefix, String propertyName, Object value) {
+ super(metadata, namespaceURI, prefix, propertyName, value);
+ }
+
+}
Added: pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/URLType.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/URLType.java?rev=1366607&view=auto
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/URLType.java (added)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/URLType.java Sat Jul 28 08:07:40 2012
@@ -0,0 +1,33 @@
+/*****************************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ ****************************************************************************/
+
+package org.apache.padaf.xmpbox.type;
+
+import org.apache.padaf.xmpbox.XMPMetadata;
+
+public class URLType extends TextType {
+
+ public URLType(XMPMetadata metadata, String namespaceURI,
+ String prefix, String propertyName, Object value) {
+ super(metadata, namespaceURI, prefix, propertyName, value);
+ }
+
+}
Added: pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/XPathType.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/XPathType.java?rev=1366607&view=auto
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/XPathType.java (added)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/padaf/xmpbox/type/XPathType.java Sat Jul 28 08:07:40 2012
@@ -0,0 +1,33 @@
+/*****************************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ ****************************************************************************/
+
+package org.apache.padaf.xmpbox.type;
+
+import org.apache.padaf.xmpbox.XMPMetadata;
+
+public class XPathType extends TextType {
+
+ public XPathType(XMPMetadata metadata, String namespaceURI,
+ String prefix, String propertyName, Object value) {
+ super(metadata, namespaceURI, prefix, propertyName, value);
+ }
+
+}