org.apache.fop.render.afp.extensions
Class AFPElement
java.lang.Object
org.apache.fop.fo.FONode
org.apache.fop.fo.FObj
org.apache.fop.extensions.ExtensionObj
org.apache.fop.render.afp.extensions.AFPElement
- public class AFPElement
- extends org.apache.fop.extensions.ExtensionObj
This class extends the org.apache.fop.extensions.ExtensionObj class. The
object faciliates extraction of elements from formatted objects based on
the static list as defined in the AFPElementMapping implementation.
|
Nested Class Summary |
static class |
AFPElement.Maker
The static Maker class responsible for building the AFPElement objects. |
| Fields inherited from class org.apache.fop.fo.FObj |
column, line, properties, propMgr, systemId |
| Fields inherited from class org.apache.fop.fo.FONode |
areaClass, areasGenerated, BREAK_AFTER, children, forcedStartOffset, forcedWidth, isInTableCell, linkSet, log, marker, parent, START |
|
Constructor Summary |
AFPElement(org.apache.fop.fo.FObj parent,
org.apache.fop.fo.PropertyList propertyList,
java.lang.String systemId,
int line,
int column,
java.lang.String name)
Constructor for the AFPElement |
|
Method Summary |
java.util.Collection |
getChildren()
Getter method for the child elements of this node |
java.lang.String |
getName()
Getter method for the name of the element (including the namespace) |
static AFPElement.Maker |
maker(java.lang.String name)
Static maker method to build the maker object. |
| Methods inherited from class org.apache.fop.extensions.ExtensionObj |
format, layout |
| Methods inherited from class org.apache.fop.fo.FObj |
addCharacters, addMarker, end, generatesReferenceAreas, getContentWidth, getProperty, makePropertyManager, removeID, setWritingMode |
| Methods inherited from class org.apache.fop.fo.FONode |
addChild, forceStartOffset, forceWidth, getLinkSet, getMarkerSnapshot, getParent, mayPrecedeMarker, removeAreas, resetMarker, rollback, setIsInTableCell, setLinkSet, setLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AFPElement
public AFPElement(org.apache.fop.fo.FObj parent,
org.apache.fop.fo.PropertyList propertyList,
java.lang.String systemId,
int line,
int column,
java.lang.String name)
- Constructor for the AFPElement
- Parameters:
parent - The parent objectpropertyList - The property listsystemId - The system idline - The line numbercolumn - The column numbername - The element name
maker
public static AFPElement.Maker maker(java.lang.String name)
- Static maker method to build the maker object.
- Parameters:
name - The element name
getName
public java.lang.String getName()
- Getter method for the name of the element (including the namespace)
- Returns:
- name The element name, excluding namespace.
getChildren
public java.util.Collection getChildren()
- Getter method for the child elements of this node
- Returns:
- collection The collection of children