- java.lang.Object
-
- com.github.weisj.jsvg.nodes.AbstractSVGNode
-
- com.github.weisj.jsvg.nodes.container.BaseContainerNode<SVGNode>
-
- com.github.weisj.jsvg.nodes.container.ContainerNode
-
- Direct Known Subclasses:
AbstractGradient,ClipPath,Defs,FeComponentTransfer,FeMerge,Filter,MeshGradient,MeshPatch,MeshRow
public abstract class ContainerNode extends BaseContainerNode<SVGNode>
-
-
Constructor Summary
Constructors Constructor Description ContainerNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<? extends @NotNull SVGNode>children()Return all children of this container.protected voiddoAdd(@NotNull SVGNode node)-
Methods inherited from class com.github.weisj.jsvg.nodes.container.BaseContainerNode
acceptChild, addChild, isAcceptableType
-
Methods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
addContent, build, id, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Container
childrenOfType
-
-
-
-
Field Detail
-
children
private final java.util.List<@NotNull SVGNode> children
-
-
Method Detail
-
doAdd
protected void doAdd(@NotNull @NotNull SVGNode node)- Specified by:
doAddin classBaseContainerNode<SVGNode>
-
children
public java.util.List<? extends @NotNull SVGNode> children()
Description copied from interface:ContainerReturn all children of this container. Note that the return type of this function internationally contains a wild card to make it a compilation error trying to modify it.- Returns:
- the list of children.
-
-