public class Validator extends Object
Java class for Validator complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Validator"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="attribute" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="class" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <pattern value="[a-zA-Z.]*"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<String> |
attribute |
protected String |
clazz |
Constructor and Description |
---|
Validator() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAttribute()
Gets the value of the attribute property.
|
String |
getClazz()
Gets the value of the clazz property.
|
void |
setClazz(String value)
Sets the value of the clazz property.
|
public List<String> getAttribute()
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 attribute property.
For example, to add a new item, do as follows:
getAttribute().add(newItem);
Objects of the following type(s) are allowed in the list String
public String getClazz()
String
Copyright © 2018 universAAL Consortium. All rights reserved.