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

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

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

origin: deegree/deegree3

writeOptionalElement( writer, owsNS, "PostalCode", address.getPostalCode() );
writeOptionalElement( writer, owsNS, "Country", address.getCountry() );
exportSimpleStrings( writer, address.getElectronicMailAddress(), owsNS, "ElectronicMailAddress" );
writer.writeEndElement();
origin: deegree/deegree3

maybeWriteElement( writer, "ContactFacsimileTelephone",
          contact.getContactInfo().getPhone().getFacsimile().get( 0 ) );
if ( addr != null && !addr.getElectronicMailAddress().isEmpty() ) {
  maybeWriteElement( writer, "ContactElectronicMailAddress", addr.getElectronicMailAddress().get( 0 ) );
origin: deegree/deegree3

maybeWriteElementNS( writer, WMSNS, "ContactFacsimileTelephone",
           contact.getContactInfo().getPhone().getFacsimile().get( 0 ) );
if ( addr != null && !addr.getElectronicMailAddress().isEmpty() ) {
  maybeWriteElementNS( writer, WMSNS, "ContactElectronicMailAddress",
             addr.getElectronicMailAddress().get( 0 ) );
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.partyAddressgetElectronicMailAddress

Popular methods of Address

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

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • setContentView (Activity)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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