public static class Source.Roots
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{exa:com.exalead.mercury.mami.crawl.v10}root" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
Roots()
Creates a new
Roots instance. |
Roots(Source.Roots o)
Creates a new
Roots instance by deeply copying a given Roots instance. |
Modifier and Type | Method and Description |
---|---|
Source.Roots |
clone()
Creates and returns a deep copy of this object.
|
java.util.List<Root> |
getRoot()
Gets the value of the root property.
|
Source.Roots |
withRoot(java.util.Collection<Root> values) |
Source.Roots |
withRoot(Root... values) |
protected java.util.List<Root> root
public Roots()
Roots
instance.public Roots(Source.Roots o)
Roots
instance by deeply copying a given Roots
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public java.util.List<Root> getRoot()
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 set
method for the root property.
For example, to add a new item, do as follows:
getRoot().add(newItem);
Objects of the following type(s) are allowed in the list
Root
public Source.Roots withRoot(Root... values)
public Source.Roots withRoot(java.util.Collection<Root> values)
public Source.Roots clone()
clone
in class java.lang.Object
Copyright © 2021 Dassault Systèmes, All Rights Reserved.