Tabnine Logo
Address.getDeliveryPoint
Code IndexAdd Tabnine to your IDE (free)

How to use
getDeliveryPoint
method
in
org.deegree.commons.ows.metadata.party.Address

Best Java code snippets using org.deegree.commons.ows.metadata.party.Address.getDeliveryPoint (Showing top 5 results out of 315)

origin: deegree/deegree3

  /**
   * Returns whether any information on the physical address is available.
   * 
   * @returns <code>true</code>, if any physical information is available, <code>false</code> otherwise
   */
  public boolean isPhysicalInfoAvailable() {
    return !getDeliveryPoint().isEmpty() || getCity() != null || getAdministrativeArea() != null
        || getPostalCode() != null || getCountry() != null;
  }
}
origin: deegree/deegree3

if ( address != null ) {
  writer.writeStartElement( owsNS, "Address" );
  exportSimpleStrings( writer, address.getDeliveryPoint(), owsNS, "DeliveryPoint" );
  writeOptionalElement( writer, owsNS, "City", address.getCity() );
  writeOptionalElement( writer, owsNS, "AdministrativeArea", address.getAdministrativeArea() );
origin: deegree/deegree3

writer.writeStartElement( WMSNS, "ContactAddress" );
writeElement( writer, WMSNS, "AddressType", "postal" );
for ( String s : addr.getDeliveryPoint() ) {
  maybeWriteElementNS( writer, WMSNS, "Address", s );
origin: deegree/deegree3

writer.writeStartElement( "ContactAddress" );
writeElement( writer, "AddressType", "postal" );
for ( String s : addr.getDeliveryPoint() ) {
  maybeWriteElement( writer, "Address", s );
origin: deegree/deegree3

/**
 * @param addressEl
 *            context {@link OMElement}
 * @return an {@link Address} instance, never <code>null</code>
 */
protected Address parseAddress( OMElement addressEl ) {
  Address address = new Address();
  XPath xpath = new XPath( "ows:DeliveryPoint", nsContext );
  String[] deliveryPoints = getNodesAsStrings( addressEl, xpath );
  for ( String deliveryPoint : deliveryPoints ) {
    address.getDeliveryPoint().add( deliveryPoint );
  }
  xpath = new XPath( "ows:City", nsContext );
  address.setCity( getNodeAsString( addressEl, xpath, null ) );
  xpath = new XPath( "ows:AdministrativeArea", nsContext );
  address.setAdministrativeArea( getNodeAsString( addressEl, xpath, null ) );
  xpath = new XPath( "ows:PostalCode", nsContext );
  address.setPostalCode( getNodeAsString( addressEl, xpath, null ) );
  xpath = new XPath( "ows:Country", nsContext );
  address.setCountry( getNodeAsString( addressEl, xpath, null ) );
  xpath = new XPath( "ows:ElectronicMailAddress", nsContext );
  String[] eMails = getNodesAsStrings( addressEl, xpath );
  for ( int i = 0; i < eMails.length; i++ ) {
    address.getElectronicMailAddress().add( eMails[i] );
  }
  return address;
}
org.deegree.commons.ows.metadata.partyAddressgetDeliveryPoint

Popular methods of Address

  • getAdministrativeArea
  • getCity
  • getCountry
  • getElectronicMailAddress
  • getPostalCode
  • <init>
  • setAdministrativeArea
  • setCity
  • setCountry
  • setPostalCode
  • isPhysicalInfoAvailable
    Returns whether any information on the physical address is available.
  • setDeliveryPoint
  • isPhysicalInfoAvailable,
  • setDeliveryPoint,
  • setElectronicMailAddress

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • putExtra (Intent)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now