public class PostalCode extends Object implements XmlNamespaceConstants
<element name="PostalCode" type="xls:PostalCodeType"> <annotation> <documentation>A zipcode or international postal code as defined by the governing postal authority.</documentation> </annotation> </element> <simpleType name="PostalCodeType"> <annotation> <documentation>The AbstractPostalCodeType is an abstract type for postal code within an AddressType. We do this because the components of a postal code vary greatly throughout the world. So that the schema can accommodate this variation we create derived types such as the USZipCodeType which has the components for a US zipcode</documentation> </annotation> <restriction base="string" /> </simpleType>
OGC_GML_NAMESPACE_PREFIX, OGC_GML_NAMESPACE_URI, OPENLS_NAMESPACE_PREFIX, OPENLS_NAMESPACE_SCHEMALOCATION, OPENLS_NAMESPACE_URI
Constructor and Description |
---|
PostalCode()
Instantiates a new postal code.
|
Modifier and Type | Method and Description |
---|---|
String |
getPostalCode()
Gets the postal code.
|
boolean |
hasPostalCode()
Checks for postal code.
|
void |
setPostalCode(String postalCode)
Sets the postal code.
|
String |
toXML()
geeft een XML string representatie van dit object.
|
public void setPostalCode(String postalCode)
postalCode
- the new postal codepublic String getPostalCode()
public boolean hasPostalCode()
public String toXML()
XmlNamespaceConstants
toXML
in interface XmlNamespaceConstants
Copyright © 2012–2014 Ministerie EZ. All rights reserved.