Author: jeremias
Date: Tue Apr 14 16:20:31 2009
New Revision: 764861
URL: http://svn.apache.org/viewvc?rev=764861&view=rev
Log:
Missing javadocs.
Modified:
xmlgraphics/fop/branches/Temp_Accessibility/src/java/org/apache/fop/render/intermediate/IFContext.java
Modified:
xmlgraphics/fop/branches/Temp_Accessibility/src/java/org/apache/fop/render/intermediate/IFContext.java
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_Accessibility/src/java/org/apache/fop/render/intermediate/IFContext.java?rev=764861&r1=764860&r2=764861&view=diff
==============================================================================
---
xmlgraphics/fop/branches/Temp_Accessibility/src/java/org/apache/fop/render/intermediate/IFContext.java
(original)
+++
xmlgraphics/fop/branches/Temp_Accessibility/src/java/org/apache/fop/render/intermediate/IFContext.java
Tue Apr 14 16:20:31 2009
@@ -110,18 +110,37 @@
setForeignAttributes(null);
}
+ /**
+ * Sets the structure pointer for the following painted marks. This method
is used when
+ * accessibility features are enabled.
+ * @param ptr the structure pointer
+ */
public void setStructurePointer(String ptr) {
this.structurePointer = ptr;
}
+ /**
+ * Resets the current structure pointer.
+ * @see #setStructurePointer(String)
+ */
public void resetStructurePointer() {
setStructurePointer(null);
}
+ /**
+ * Returns the current structure pointer.
+ * @return the structure pointer (or null if no pointer is active)
+ * @see #setStructurePointer(String)
+ */
public String getStructurePointer() {
return this.structurePointer;
}
+ /**
+ * Indicates whether a structure pointer is available.
+ * @return true if there's a structure pointer
+ * @see #setStructurePointer(String)
+ */
public boolean hasStructurePointer() {
return (this.structurePointer != null) && (structurePointer.length() >
0);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]