/**
* Construct an fo:static-content node, and buffer the contents for later
-* parsing
- * subtree.
+ * parsing.
* <p>Content model for fo:static-content: (%block;)+
* @param foTree the FO tree being built
* @param parent the parent FONode of this node
ncName = (NCName)(getPropertyValue(PropNames.FLOW_NAME));
} catch (PropertyException e) {
throw new FOPException(
- "Cannot find marker-class-name in fo:marker", e);
+ "Cannot find flow-name in fo:static-content", e);
} catch (ClassCastException e) {
- throw new FOPException("Wrong PropertyValue type in fo:marker", e);
+ throw new FOPException
+ ("Wrong PropertyValue type for flow-name in fo:static-content",
+ e);
}
flowName = ncName.getNCName();
}
/**
+ * Gets the buffer of <code>XmlEvent</code>s from this
+ * <b>fo:static-content</b> subtree
+ *
* @return the static-content subtree buffer
*/
public XmlEventsArrayBuffer getEventBuffer() {
return buffer;
}
+ /**
+ * Gets the <b>flow-name</b> with which this <b>fo:static-content</b>
+ * is associated
+ *
+ * @return the flow-name
+ */
+ public String getFlowName() {
+ return flowName;
+ }
}