aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/FOText.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/FOText.java')
-rw-r--r--src/java/org/apache/fop/fo/FOText.java19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/java/org/apache/fop/fo/FOText.java b/src/java/org/apache/fop/fo/FOText.java
index 2205c0170..b2baf58a7 100644
--- a/src/java/org/apache/fop/fo/FOText.java
+++ b/src/java/org/apache/fop/fo/FOText.java
@@ -122,7 +122,7 @@ public class FOText extends FONode {
super(parent);
}
- /** @see org.apache.fop.fo.FONode */
+ /** {@inheritDoc} */
protected void addCharacters(char[] data, int start, int end,
PropertyList list, Locator locator) throws FOPException {
@@ -142,14 +142,15 @@ public class FOText extends FONode {
}
/**
- * @see org.apache.fop.fo.FONode#clone(FONode, boolean)
+ * {@inheritDoc}
*/
public FONode clone(FONode parent, boolean removeChildren)
throws FOPException {
FOText ft = (FOText) super.clone(parent, removeChildren);
if (removeChildren) {
//not really removing, but just make sure the char array
- //pointed to is really a different one
+ //pointed to is really a different one, and reset any
+ //possible whitespace-handling effects
if (ca != null) {
ft.ca = new char[ca.length];
System.arraycopy(ca, 0, ft.ca, 0, ca.length);
@@ -159,7 +160,7 @@ public class FOText extends FONode {
}
/**
- * @see org.apache.fop.fo.FObj#bind(PropertyList)
+ * {@inheritDoc}
*/
public void bind(PropertyList pList) throws FOPException {
commonFont = pList.getFontProps();
@@ -176,7 +177,7 @@ public class FOText extends FONode {
baselineShift = pList.get(Constants.PR_BASELINE_SHIFT).getLength();
}
- /** @see org.apache.fop.fo.FONode#endOfNode() */
+ /** {@inheritDoc} */
protected void endOfNode() throws FOPException {
textTransform();
getFOEventHandler().characters(ca, startIndex, endIndex);
@@ -600,24 +601,24 @@ public class FOText extends FONode {
return baselineShift;
}
- /** @see java.lang.Object#toString() */
+ /** {@inheritDoc} */
public String toString() {
StringBuffer sb = new StringBuffer(super.toString());
sb.append(" (").append(ca).append(")");
return sb.toString();
}
- /** @see org.apache.fop.fo.FONode#getLocalName() */
+ /** {@inheritDoc} */
public String getLocalName() {
return null;
}
- /** @see org.apache.fop.fo.FONode#getNormalNamespacePrefix() */
+ /** {@inheritDoc} */
public String getNormalNamespacePrefix() {
return null;
}
- /** @see org.apache.fop.fo.FONode#gatherContextInfo() */
+ /** {@inheritDoc} */
protected String gatherContextInfo() {
if (getLocator() != null) {
return super.gatherContextInfo();