aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/extensions
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2008-07-24 09:35:34 +0000
committerVincent Hennebert <vhennebert@apache.org>2008-07-24 09:35:34 +0000
commit92df262a0778ee539c849454be2810621dac1b7e (patch)
treed5be9359cbacb91dffcab6f1a6ecfe61e9db2c6b /src/java/org/apache/fop/fo/extensions
parent30e2ce5bee38cbc32758e0b65fa7f98f3db76baa (diff)
downloadxmlgraphics-fop-92df262a0778ee539c849454be2810621dac1b7e.tar.gz
xmlgraphics-fop-92df262a0778ee539c849454be2810621dac1b7e.zip
Fed up with all those trailing whitespaces. Let's remove them all (once... and for all?)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679326 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/extensions')
-rw-r--r--src/java/org/apache/fop/fo/extensions/ExtensionAttachment.java2
-rw-r--r--src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java16
-rw-r--r--src/java/org/apache/fop/fo/extensions/ExtensionObj.java10
-rw-r--r--src/java/org/apache/fop/fo/extensions/ExternalDocument.java6
-rw-r--r--src/java/org/apache/fop/fo/extensions/OldExtensionElementMapping.java6
-rw-r--r--src/java/org/apache/fop/fo/extensions/destination/Destination.java8
-rw-r--r--src/java/org/apache/fop/fo/extensions/svg/BatikExtensionElementMapping.java8
-rw-r--r--src/java/org/apache/fop/fo/extensions/svg/SVGElement.java16
-rw-r--r--src/java/org/apache/fop/fo/extensions/svg/SVGElementMapping.java10
-rw-r--r--src/java/org/apache/fop/fo/extensions/svg/SVGObj.java8
-rw-r--r--src/java/org/apache/fop/fo/extensions/xmp/AbstractMetadataElement.java8
-rw-r--r--src/java/org/apache/fop/fo/extensions/xmp/RDFElement.java2
-rw-r--r--src/java/org/apache/fop/fo/extensions/xmp/RDFElementMapping.java6
-rw-r--r--src/java/org/apache/fop/fo/extensions/xmp/XMPContentHandlerFactory.java10
-rw-r--r--src/java/org/apache/fop/fo/extensions/xmp/XMPElementMapping.java6
-rw-r--r--src/java/org/apache/fop/fo/extensions/xmp/XMPMetaElement.java2
-rw-r--r--src/java/org/apache/fop/fo/extensions/xmp/XMPMetadata.java14
17 files changed, 69 insertions, 69 deletions
diff --git a/src/java/org/apache/fop/fo/extensions/ExtensionAttachment.java b/src/java/org/apache/fop/fo/extensions/ExtensionAttachment.java
index ed4f69041..993768c81 100644
--- a/src/java/org/apache/fop/fo/extensions/ExtensionAttachment.java
+++ b/src/java/org/apache/fop/fo/extensions/ExtensionAttachment.java
@@ -35,5 +35,5 @@ public interface ExtensionAttachment {
* @return the category URI
*/
String getCategory();
-
+
}
diff --git a/src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java b/src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java
index fc61167b2..56521b7e8 100644
--- a/src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java
+++ b/src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java
@@ -5,9 +5,9 @@
* 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.
@@ -33,12 +33,12 @@ import org.apache.fop.fo.extensions.destination.Destination;
* Element mapping for FOP's proprietary extension to XSL-FO.
*/
public class ExtensionElementMapping extends ElementMapping {
-
+
/** The FOP extension namespace URI */
public static final String URI = "http://xmlgraphics.apache.org/fop/extensions";
private static final Set propertyAttributes = new java.util.HashSet();
-
+
static {
//These are FOP's standard extension properties (fox:*)
propertyAttributes.add("block-progression-unit");
@@ -46,7 +46,7 @@ public class ExtensionElementMapping extends ElementMapping {
propertyAttributes.add("orphan-content-limit");
propertyAttributes.add("internal-destination");
}
-
+
/**
* Constructor.
*/
@@ -66,7 +66,7 @@ public class ExtensionElementMapping extends ElementMapping {
foObjs.put("external-document", new ExternalDocumentMaker());
}
}
-
+
static class DestinationMaker extends ElementMapping.Maker {
public FONode make(FONode parent) {
return new Destination(parent);
@@ -83,7 +83,7 @@ public class ExtensionElementMapping extends ElementMapping {
public String getStandardPrefix() {
return "fox";
}
-
+
/** {@inheritDoc} */
public boolean isAttributeProperty(QName attributeName) {
if (!URI.equals(attributeName.getNamespaceURI())) {
@@ -91,5 +91,5 @@ public class ExtensionElementMapping extends ElementMapping {
}
return propertyAttributes.contains(attributeName.getLocalName());
}
-
+
}
diff --git a/src/java/org/apache/fop/fo/extensions/ExtensionObj.java b/src/java/org/apache/fop/fo/extensions/ExtensionObj.java
index f22c6fbbc..da732f421 100644
--- a/src/java/org/apache/fop/fo/extensions/ExtensionObj.java
+++ b/src/java/org/apache/fop/fo/extensions/ExtensionObj.java
@@ -5,9 +5,9 @@
* 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.
@@ -45,7 +45,7 @@ public abstract class ExtensionObj extends FObj {
/**
* {@inheritDoc}
*/
- public void processNode(String elementName, Locator locator,
+ public void processNode(String elementName, Locator locator,
Attributes attlist, PropertyList pList)
throws FOPException
{
@@ -53,9 +53,9 @@ public abstract class ExtensionObj extends FObj {
}
/**
- * Create a default property list for this element.
+ * Create a default property list for this element.
*/
- protected PropertyList createPropertyList(PropertyList parent,
+ protected PropertyList createPropertyList(PropertyList parent,
FOEventHandler foEventHandler) throws FOPException {
return null;
}
diff --git a/src/java/org/apache/fop/fo/extensions/ExternalDocument.java b/src/java/org/apache/fop/fo/extensions/ExternalDocument.java
index b8707726f..bea6f6f61 100644
--- a/src/java/org/apache/fop/fo/extensions/ExternalDocument.java
+++ b/src/java/org/apache/fop/fo/extensions/ExternalDocument.java
@@ -5,9 +5,9 @@
* 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.
@@ -76,7 +76,7 @@ public class ExternalDocument extends AbstractPageSequence implements GraphicsPr
textAlign = pList.get(PR_TEXT_ALIGN).getEnum();
width = pList.get(PR_WIDTH).getLength();
src = pList.get(PR_SRC).getString();
-
+
if (this.src == null || this.src.length() == 0) {
missingPropertyError("src");
}
diff --git a/src/java/org/apache/fop/fo/extensions/OldExtensionElementMapping.java b/src/java/org/apache/fop/fo/extensions/OldExtensionElementMapping.java
index fb1810db1..e5ab93c35 100644
--- a/src/java/org/apache/fop/fo/extensions/OldExtensionElementMapping.java
+++ b/src/java/org/apache/fop/fo/extensions/OldExtensionElementMapping.java
@@ -5,9 +5,9 @@
* 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.
@@ -28,7 +28,7 @@ import org.apache.fop.fo.UnknownXMLObj;
* Element mapping for the old FOP extension namespace.
*/
public class OldExtensionElementMapping extends ElementMapping {
-
+
/** The old FOP extension namespace URI (FOP 0.20.5 and earlier) */
public static final String URI = "http://xml.apache.org/fop/extensions";
diff --git a/src/java/org/apache/fop/fo/extensions/destination/Destination.java b/src/java/org/apache/fop/fo/extensions/destination/Destination.java
index e3a2bbac4..98114bb23 100644
--- a/src/java/org/apache/fop/fo/extensions/destination/Destination.java
+++ b/src/java/org/apache/fop/fo/extensions/destination/Destination.java
@@ -5,9 +5,9 @@
* 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.
@@ -50,14 +50,14 @@ public class Destination extends FONode {
/**
* {@inheritDoc}
*/
- public void processNode(String elementName, Locator locator,
+ public void processNode(String elementName, Locator locator,
Attributes attlist, PropertyList pList) throws FOPException {
internalDestination = attlist.getValue("internal-destination");
if (internalDestination == null || internalDestination.length() == 0) {
missingPropertyError("internal-destination");
}
}
-
+
/**
* {@inheritDoc}
*/
diff --git a/src/java/org/apache/fop/fo/extensions/svg/BatikExtensionElementMapping.java b/src/java/org/apache/fop/fo/extensions/svg/BatikExtensionElementMapping.java
index a39562877..2cc451b64 100644
--- a/src/java/org/apache/fop/fo/extensions/svg/BatikExtensionElementMapping.java
+++ b/src/java/org/apache/fop/fo/extensions/svg/BatikExtensionElementMapping.java
@@ -5,9 +5,9 @@
* 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.
@@ -32,10 +32,10 @@ import org.w3c.dom.DOMImplementation;
* of the http://xml.apache.org/batik/ext namespace.
*/
public class BatikExtensionElementMapping extends ElementMapping {
-
+
/** Namespace URI for Batik extension elements */
public static final String URI = "http://xml.apache.org/batik/ext";
-
+
private boolean batikAvail = true;
/** Main constructor. */
diff --git a/src/java/org/apache/fop/fo/extensions/svg/SVGElement.java b/src/java/org/apache/fop/fo/extensions/svg/SVGElement.java
index 7711130b1..a40b80190 100644
--- a/src/java/org/apache/fop/fo/extensions/svg/SVGElement.java
+++ b/src/java/org/apache/fop/fo/extensions/svg/SVGElement.java
@@ -5,9 +5,9 @@
* 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.
@@ -65,14 +65,14 @@ public class SVGElement extends SVGObj {
* {@inheritDoc}
*/
public ContentHandlerFactory getContentHandlerFactory() {
- return new DOMBuilderContentHandlerFactory(getNamespaceURI(),
+ return new DOMBuilderContentHandlerFactory(getNamespaceURI(),
SVGDOMImplementation.getDOMImplementation());
}
-
+
/**
* {@inheritDoc}
*/
- public void processNode(String elementName, Locator locator,
+ public void processNode(String elementName, Locator locator,
Attributes attlist, PropertyList propertyList) throws FOPException {
super.processNode(elementName, locator, attlist, propertyList);
init();
@@ -91,11 +91,11 @@ public class SVGElement extends SVGObj {
/* if width and height are zero, get the bounds of the content. */
try {
- URL baseURL = new URL(getUserAgent().getBaseURL() == null
- ? new java.io.File("").toURI().toURL().toExternalForm()
+ URL baseURL = new URL(getUserAgent().getBaseURL() == null
+ ? new java.io.File("").toURI().toURL().toExternalForm()
: getUserAgent().getBaseURL());
if (baseURL != null) {
- SVGOMDocument svgdoc = (SVGOMDocument)doc;
+ SVGOMDocument svgdoc = (SVGOMDocument)doc;
svgdoc.setURLObject(baseURL);
//The following line should not be called to leave FOP compatible to Batik 1.6.
//svgdoc.setDocumentURI(baseURL.toString());
diff --git a/src/java/org/apache/fop/fo/extensions/svg/SVGElementMapping.java b/src/java/org/apache/fop/fo/extensions/svg/SVGElementMapping.java
index 586fd2d92..167baf723 100644
--- a/src/java/org/apache/fop/fo/extensions/svg/SVGElementMapping.java
+++ b/src/java/org/apache/fop/fo/extensions/svg/SVGElementMapping.java
@@ -5,9 +5,9 @@
* 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.
@@ -37,13 +37,13 @@ import org.w3c.dom.DOMImplementation;
* that create the SVG Document.
*/
public class SVGElementMapping extends ElementMapping {
-
+
/** the SVG namespace */
public static final String URI = SVGDOMImplementation.SVG_NAMESPACE_URI;
-
+
/** logging instance */
protected Log log = LogFactory.getLog(SVGElementMapping.class);
-
+
private boolean batikAvailable = true;
/** Main constructor. */
diff --git a/src/java/org/apache/fop/fo/extensions/svg/SVGObj.java b/src/java/org/apache/fop/fo/extensions/svg/SVGObj.java
index 93193aac4..b23e0f6c6 100644
--- a/src/java/org/apache/fop/fo/extensions/svg/SVGObj.java
+++ b/src/java/org/apache/fop/fo/extensions/svg/SVGObj.java
@@ -5,9 +5,9 @@
* 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.
@@ -27,7 +27,7 @@ import org.apache.fop.fo.XMLObj;
* This aids in the construction of the SVG Document.
*/
public class SVGObj extends XMLObj {
-
+
/**
* Constructs an SVG object (called by Maker).
*
@@ -46,6 +46,6 @@ public class SVGObj extends XMLObj {
public String getNormalNamespacePrefix() {
return "svg";
}
-
+
}
diff --git a/src/java/org/apache/fop/fo/extensions/xmp/AbstractMetadataElement.java b/src/java/org/apache/fop/fo/extensions/xmp/AbstractMetadataElement.java
index 0fff78623..f4b770bbe 100644
--- a/src/java/org/apache/fop/fo/extensions/xmp/AbstractMetadataElement.java
+++ b/src/java/org/apache/fop/fo/extensions/xmp/AbstractMetadataElement.java
@@ -32,7 +32,7 @@ import org.apache.xmlgraphics.xmp.Metadata;
public abstract class AbstractMetadataElement extends FONode implements ObjectBuiltListener {
private XMPMetadata attachment;
-
+
/**
* Main constructor.
* @param parent the parent formatting object
@@ -40,14 +40,14 @@ public abstract class AbstractMetadataElement extends FONode implements ObjectBu
public AbstractMetadataElement(FONode parent) {
super(parent);
}
-
+
/**
* {@inheritDoc}
*/
public ContentHandlerFactory getContentHandlerFactory() {
return new XMPContentHandlerFactory();
}
-
+
/** {@inheritDoc} */
public ExtensionAttachment getExtensionAttachment() {
if (parent instanceof FObj) {
@@ -65,5 +65,5 @@ public abstract class AbstractMetadataElement extends FONode implements ObjectBu
attachment.setMetadata((Metadata)obj);
}
-
+
}
diff --git a/src/java/org/apache/fop/fo/extensions/xmp/RDFElement.java b/src/java/org/apache/fop/fo/extensions/xmp/RDFElement.java
index 6a67575c5..cf1c40c4a 100644
--- a/src/java/org/apache/fop/fo/extensions/xmp/RDFElement.java
+++ b/src/java/org/apache/fop/fo/extensions/xmp/RDFElement.java
@@ -34,7 +34,7 @@ public class RDFElement extends AbstractMetadataElement {
public RDFElement(FONode parent) {
super(parent);
}
-
+
/** {@inheritDoc} */
public String getLocalName() {
return "RDF";
diff --git a/src/java/org/apache/fop/fo/extensions/xmp/RDFElementMapping.java b/src/java/org/apache/fop/fo/extensions/xmp/RDFElementMapping.java
index e2aa1ba95..ff84ee11f 100644
--- a/src/java/org/apache/fop/fo/extensions/xmp/RDFElementMapping.java
+++ b/src/java/org/apache/fop/fo/extensions/xmp/RDFElementMapping.java
@@ -5,9 +5,9 @@
* 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.
@@ -31,7 +31,7 @@ import org.w3c.dom.DOMImplementation;
* Setup the element mapping for XMP metadata.
*/
public class RDFElementMapping extends ElementMapping {
-
+
/** Main constructor. */
public RDFElementMapping() {
namespaceURI = XMPConstants.RDF_NAMESPACE;
diff --git a/src/java/org/apache/fop/fo/extensions/xmp/XMPContentHandlerFactory.java b/src/java/org/apache/fop/fo/extensions/xmp/XMPContentHandlerFactory.java
index 5c30801f2..02a74b86d 100644
--- a/src/java/org/apache/fop/fo/extensions/xmp/XMPContentHandlerFactory.java
+++ b/src/java/org/apache/fop/fo/extensions/xmp/XMPContentHandlerFactory.java
@@ -30,7 +30,7 @@ import org.xml.sax.SAXException;
*/
public class XMPContentHandlerFactory implements ContentHandlerFactory {
- private static final String[] NAMESPACES = new String[]
+ private static final String[] NAMESPACES = new String[]
{XMPConstants.XMP_NAMESPACE, XMPConstants.RDF_NAMESPACE};
/** {@inheritDoc} */
@@ -49,7 +49,7 @@ public class XMPContentHandlerFactory implements ContentHandlerFactory {
private class FOPXMPHandler extends XMPHandler implements ObjectSource {
private ObjectBuiltListener obListener;
-
+
public Object getObject() {
return getMetadata();
}
@@ -58,14 +58,14 @@ public class XMPContentHandlerFactory implements ContentHandlerFactory {
public void setObjectBuiltListener(ObjectBuiltListener listener) {
this.obListener = listener;
}
-
+
/** {@inheritDoc} */
public void endDocument() throws SAXException {
if (obListener != null) {
obListener.notifyObjectBuilt(getObject());
}
}
-
+
}
-
+
}
diff --git a/src/java/org/apache/fop/fo/extensions/xmp/XMPElementMapping.java b/src/java/org/apache/fop/fo/extensions/xmp/XMPElementMapping.java
index dd250f8b4..b2b3570f2 100644
--- a/src/java/org/apache/fop/fo/extensions/xmp/XMPElementMapping.java
+++ b/src/java/org/apache/fop/fo/extensions/xmp/XMPElementMapping.java
@@ -5,9 +5,9 @@
* 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.
@@ -31,7 +31,7 @@ import org.w3c.dom.DOMImplementation;
* Setup the element mapping for XMP metadata.
*/
public class XMPElementMapping extends ElementMapping {
-
+
/** Main constructor. */
public XMPElementMapping() {
namespaceURI = XMPConstants.XMP_NAMESPACE;
diff --git a/src/java/org/apache/fop/fo/extensions/xmp/XMPMetaElement.java b/src/java/org/apache/fop/fo/extensions/xmp/XMPMetaElement.java
index 2d3058d3f..f99ccd2aa 100644
--- a/src/java/org/apache/fop/fo/extensions/xmp/XMPMetaElement.java
+++ b/src/java/org/apache/fop/fo/extensions/xmp/XMPMetaElement.java
@@ -34,7 +34,7 @@ public class XMPMetaElement extends AbstractMetadataElement {
public XMPMetaElement(FONode parent) {
super(parent);
}
-
+
/** {@inheritDoc} */
public String getLocalName() {
return "xmpmeta";
diff --git a/src/java/org/apache/fop/fo/extensions/xmp/XMPMetadata.java b/src/java/org/apache/fop/fo/extensions/xmp/XMPMetadata.java
index bdfd1fc29..224741294 100644
--- a/src/java/org/apache/fop/fo/extensions/xmp/XMPMetadata.java
+++ b/src/java/org/apache/fop/fo/extensions/xmp/XMPMetadata.java
@@ -35,7 +35,7 @@ public class XMPMetadata implements ExtensionAttachment, Serializable, XMLizable
/** The category URI for this extension attachment. */
public static final String CATEGORY = XMPConstants.XMP_NAMESPACE;
-
+
private Metadata meta;
private boolean readOnly = true;
@@ -45,7 +45,7 @@ public class XMPMetadata implements ExtensionAttachment, Serializable, XMLizable
public XMPMetadata() {
//nop
}
-
+
/**
* Default constructor.
* @param metadata the XMP metadata
@@ -53,12 +53,12 @@ public class XMPMetadata implements ExtensionAttachment, Serializable, XMLizable
public XMPMetadata(Metadata metadata) {
this.meta = metadata;
}
-
+
/** @return the XMP metadata */
public Metadata getMetadata() {
return this.meta;
}
-
+
/**
* Sets the XMP metadata.
* @param metadata the XMP metadata
@@ -66,7 +66,7 @@ public class XMPMetadata implements ExtensionAttachment, Serializable, XMLizable
public void setMetadata(Metadata metadata) {
this.meta = metadata;
}
-
+
/** @return true if the XMP metadata is marked read-only. */
public boolean isReadOnly() {
return readOnly;
@@ -84,10 +84,10 @@ public class XMPMetadata implements ExtensionAttachment, Serializable, XMLizable
public String getCategory() {
return CATEGORY;
}
-
+
/** {@inheritDoc} */
public void toSAX(ContentHandler handler) throws SAXException {
getMetadata().toSAX(handler);
}
-
+
}