|
fop 0.90alpha1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fo.FONode
org.apache.fop.fo.FObj
org.apache.fop.fo.flow.AbstractGraphics
org.apache.fop.fo.flow.ExternalGraphic
External graphic formatting object. This FO node handles the external graphic. It creates an image inline area that can be added to the area tree.
Field Summary |
Fields inherited from class org.apache.fop.fo.FObj |
childNodes, markers |
Fields inherited from class org.apache.fop.fo.FONode |
FO_URI, locator, log, parent |
Constructor Summary | |
ExternalGraphic(FONode parent)
Create a new External graphic node. |
Method Summary | |
void |
bind(PropertyList pList)
Bind property values from the property list to the FO node. |
int |
getIntrinsicHeight()
|
int |
getIntrinsicWidth()
|
java.lang.String |
getLocalName()
Returns the local name (i.e. without namespace prefix) of the node |
int |
getNameId()
Returns the Constants class integer value of this node |
java.lang.String |
getSrc()
|
java.lang.String |
getURL()
|
protected void |
startOfNode()
Called after processNode() is called. |
protected void |
validateChildNode(org.xml.sax.Locator loc,
java.lang.String nsURI,
java.lang.String localName)
Checks to make sure, during SAX processing of input document, that the incoming node is valid for the this (parent) node (e.g., checking to see that fo:table is not an immediate child of fo:root) called within FObj constructor |
Methods inherited from class org.apache.fop.fo.flow.AbstractGraphics |
computeXOffset, computeYOffset, getAlignmentAdjust, getAlignmentBaseline, getBaselineShift, getBlockProgressionDimension, getCommonBorderPaddingBackground, getContentHeight, getContentWidth, getDominantBaseline, getHeight, getId, getInlineProgressionDimension, getLineHeight, getOverflow, getScaling, getWidth |
Methods inherited from class org.apache.fop.fo.FObj |
addChildNode, addExtensionAttachment, addMarker, checkId, clone, createPropertyList, findAncestor, findNearestAncestorFObj, generatesReferenceAreas, getChildNodes, getChildNodes, getExtensionAttachments, getIsOutOfLineFODescendant, getMarkers, getNamespaceURI, getNormalNamespacePrefix, getPropertyMakerFor, hasMarkers, isBlockItem, isBlockOrInlineItem, isInlineItem, isNeutralItem, notifyChildRemoval, processNode, removeChild |
Methods inherited from class org.apache.fop.fo.FONode |
addCharacters, attributeError, attributeWarning, charIterator, clone, endOfNode, errorText, getExtensionAttachment, getFOEventHandler, getLocator, getLocatorString, getLogger, getName, getName, getNodeString, getParent, getRoot, getUserAgent, invalidChildError, invalidChildError, missingChildElementError, missingPropertyError, nodesOutOfOrderError, setLocator, tooManyNodesError, tooManyNodesError, warningText |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExternalGraphic(FONode parent)
parent
- the parent of this nodeMethod Detail |
public void bind(PropertyList pList) throws FOPException
FObj
bind
in class AbstractGraphics
FOPException
FObj.bind(PropertyList)
protected void startOfNode() throws FOPException
FONode
startOfNode
in class FONode
FOPException
- if there's a problem during processingFONode.startOfNode()
protected void validateChildNode(org.xml.sax.Locator loc, java.lang.String nsURI, java.lang.String localName) throws ValidationException
FONode
validateChildNode
in class FONode
loc
- location in the FO source filensURI
- namespace of incoming nodelocalName
- (e.g. "table" for "fo:table")
ValidationException
- if incoming node not valid for parentXSL Content Model: empty
public java.lang.String getSrc()
public java.lang.String getURL()
public java.lang.String getLocalName()
FONode
getLocalName
in class FONode
FONode.getLocalName()
public int getNameId()
FONode
getNameId
in class FONode
FONode.getNameId()
public int getIntrinsicWidth()
getIntrinsicWidth
in class AbstractGraphics
AbstractGraphics.getIntrinsicWidth()
public int getIntrinsicHeight()
getIntrinsicHeight
in class AbstractGraphics
AbstractGraphics.getIntrinsicHeight()
|
fop 0.90alpha1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |