public class UpdateValidator extends Object
<xsd:complexType name="UpdateType" final="#all">
<xsd:all>
<xsd:element ref="kml:targetHref"/>
<xsd:element ref="kml:AbstractUpdateOptionGroup" minOccurs="1" maxOccurs="unbounded"/>
<xsd:element ref="kml:UpdateExtensionGroup" minOccurs="0" maxOccurs="unbounded"/>
</xsd:all>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:complexType>
The applicable test cases are listed below.
| Modifier and Type | Field and Description |
|---|---|
(package private) org.opengis.cite.validation.ValidationErrorHandler |
errHandler |
| Constructor and Description |
|---|
UpdateValidator()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessages()
Returns all error messages reported during the last call to
isValid. |
boolean |
isValid(Node updateNode)
Checks that a kml:Update element satisfies all applicable constraints.
|
public String getErrorMessages()
isValid.public boolean isValid(Node updateNode)
targetId attribute and do not have
an id attributeupdateNode - A node that represents a kml:Update element.Copyright © 2016 Open Geospatial Consortium. All rights reserved.