public class Attribute extends LinkCollection
Java class for Attribute complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Attribute"> <complexContent> <extension base="{http://www.xwiki.org}LinkCollection"> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected String |
value |
links
Constructor and Description |
---|
Attribute() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the value of the name property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setValue(String value)
Sets the value of the value property.
|
Attribute |
withLinks(Collection<Link> values) |
Attribute |
withLinks(Link... values) |
Attribute |
withName(String value) |
Attribute |
withValue(String value) |
getLinks
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getValue()
String
public void setValue(String value)
value
- allowed object is
String
public Attribute withLinks(Link... values)
withLinks
in class LinkCollection
public Attribute withLinks(Collection<Link> values)
withLinks
in class LinkCollection
Copyright © 2004–2021 XWiki. All rights reserved.