public class SVGElement extends SVGObj
Modifier and Type | Class and Description |
---|---|
static class |
SVGElement.PDFUnitContext
This class is the default context for a particular
element.
|
FONode.FONodeIterator, FONode.GatherContextInfoFunction
FO_URI, FOX_URI, locator, log, nodeChangeBarList, parent, siblings, startOfNodeChangeBarList
Constructor and Description |
---|
SVGElement(FONode parent)
Constructs an SVG object
|
Modifier and Type | Method and Description |
---|---|
ContentHandlerFactory |
getContentHandlerFactory()
This method is overridden by extension elements and allows the extension element to return
a
ContentHandlerFactory . |
Point2D |
getDimension(Point2D view)
Get the dimensions of this XML document.
|
static Point2D |
getSize(int size,
Element svgRoot,
float ptmm)
Get the size of the SVG root element.
|
getNamespaceURI, getNormalNamespacePrefix
addChildNode, addElement, buildTopLevel, characters, createBasicDocument, getDOMDocument, getIntrinsicAlignmentAdjust, getLocalName, notifyObjectBuilt, processNode, validateChildNode
addCharacters, attachSiblings, bind, canHaveMarkers, charIterator, clone, clone, collectDelimitedTextRanges, collectDelimitedTextRanges, createPropertyList, decorateWithContextInfo, endOfNode, errorText, finalizeNode, gatherContextInfo, getBuilderContext, getChangeBarList, getChildNodes, getChildNodes, getContextInfo, getContextInfoAlt, getExtensionAttachment, getFOEventHandler, getFOValidationEventProducer, getLocator, getLocatorString, getLogger, getName, getName, getNameId, getNodePrefix, getNodeString, getParent, getRoot, getStructureTreeElement, getUserAgent, inMarker, invalidChildError, invalidChildError, invalidPropertyValueError, isBidiRangeBlockItem, isChangeBarElement, isDelimitedTextRangeBoundary, missingChildElementError, missingChildElementError, missingPropertyError, nodesOutOfOrderError, nodesOutOfOrderError, notSupportedChildError, removeChild, setLocator, setStructureTreeElement, startOfNode, tooManyNodesError, tooManyNodesError, tooManyNodesError, validateChildNode, warningText
public SVGElement(FONode parent)
parent
- the parent formatting objectpublic ContentHandlerFactory getContentHandlerFactory()
ContentHandlerFactory
. This factory can create ContentHandler implementations that
handle foreign XML content by either building up a specific DOM, a Java object or something
else.getContentHandlerFactory
in class FONode
ContentHandlerFactory
or null
if not applicablepublic Point2D getDimension(Point2D view)
getDimension
in class XMLObj
view
- the viewport dimensionsCopyright © 2025 Apache Software Foundation. All rights reserved.