- Direct Known Subclasses:
Text
public class SVGTextContent
extends java.lang.Object
Java class for SVG.text.content complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SVG.text.content">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{http://www.w3.org/2000/svg}SVG.Description.class"/>
<element ref="{http://www.w3.org/2000/svg}SVG.Animation.class"/>
<element ref="{http://www.w3.org/2000/svg}SVG.TextContent.class"/>
<element ref="{http://www.w3.org/2000/svg}SVG.Hyperlink.class"/>
</choice>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.io.Serializable>content -
Constructor Summary
Constructors Constructor Description SVGTextContent() -
Method Summary
Modifier and Type Method Description java.util.List<java.io.Serializable>getContent()Gets the value of the content property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
protected java.util.List<java.io.Serializable> content
-
-
Constructor Details
-
SVGTextContent
public SVGTextContent()
-
-
Method Details
-
getContent
public java.util.List<java.io.Serializable> getContent()Gets the value of the content property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the content property.For example, to add a new item, do as follows:
getContent().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<Animate>JAXBElement<SVGHyperlinkClass>JAXBElement<Object>JAXBElement<Metadata>JAXBElement<Title>JAXBElement<Tref>JAXBElement<AnimateColor>JAXBElement<Desc>JAXBElement<AnimateMotion>JAXBElement<Object>JAXBElement<Set>JAXBElement<Object>JAXBElement<SVGHyperlinkClass>JAXBElement<AnimateTransform>StringJAXBElement<AltGlyph>JAXBElement<TextPath>JAXBElement<Tspan>
-