public class Result extends Object implements Serializable
Java class for ResultType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResultType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Namespace" maxOccurs="unbounded" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="prefix" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType"
/>
<attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType"
/>
</extension>
</simpleContent>
</complexType>
</element>
<element name="Error" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ErrorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="ViolatingElement" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="validationPassed" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean"
/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Result.Error
Java class for anonymous complex type.
|
static class |
Result.Namespace
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Result.Error> |
errors |
protected List<Result.Namespace> |
namespaces |
protected boolean |
validationPassed |
| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
List<Result.Error> |
getErrors()
Gets the value of the errors property.
|
List<Result.Namespace> |
getNamespaces()
Gets the value of the namespaces property.
|
boolean |
isValidationPassed()
Gets the value of the validationPassed property.
|
void |
setValidationPassed(boolean value)
Sets the value of the validationPassed property.
|
Result |
withErrors(Collection<Result.Error> values) |
Result |
withErrors(Result.Error... values) |
Result |
withNamespaces(Collection<Result.Namespace> values) |
Result |
withNamespaces(Result.Namespace... values) |
Result |
withValidationPassed(boolean value) |
protected List<Result.Namespace> namespaces
protected List<Result.Error> errors
protected boolean validationPassed
public List<Result.Namespace> getNamespaces()
set method for the
namespaces property. For example, to add a new item, do as follows:
getNamespaces().add(newItem);
Objects of the following type(s) are allowed in the list Result.Namespacepublic List<Result.Error> getErrors()
set method for the
errors property. For example, to add a new item, do as follows:
getErrors().add(newItem);
Objects of the following type(s) are allowed in the list Result.Errorpublic boolean isValidationPassed()
public void setValidationPassed(boolean value)
public Result withNamespaces(Result.Namespace... values)
public Result withNamespaces(Collection<Result.Namespace> values)
public Result withErrors(Result.Error... values)
public Result withErrors(Collection<Result.Error> values)
public Result withValidationPassed(boolean value)
Copyright © 2014–2019. All rights reserved.