Package com.github.weisj.jsvg.nodes
Class MetaSVGNode
- java.lang.Object
-
- com.github.weisj.jsvg.nodes.MetaSVGNode
-
- All Implemented Interfaces:
SVGNode
public abstract class MetaSVGNode extends java.lang.Object implements SVGNode
Even though elements of this type can have an id, it doesn't provide any benefit as you can't do anything with it (per contract of subclassing this type).Note: Subclasses of this type may accept child nodes. Nonetheless, this isn't a container type as there is no reason to keep meta information for rendering. Any child elements with an "id" will be kept by the loader for resolving during build time and discarded if unused.
-
-
Constructor Summary
Constructors Constructor Description MetaSVGNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addContent(char[] content)
void
build(@NotNull AttributeNode attributeNode)
@Nullable java.lang.String
id()
-
-
-
Method Detail
-
build
public void build(@NotNull @NotNull AttributeNode attributeNode)
-
addContent
public void addContent(char[] content)
- Specified by:
addContent
in interfaceSVGNode
-
-