Class Composition

java.lang.Object
com.timeanddate.services.dataTypes.dialCode.Composition

public class Composition extends Object
Author:
Cato Auestad <cato@timeanddate.com>
  • Constructor Details

    • Composition

      public Composition()
  • Method Details

    • getPhoneNumberElement

      public PhoneNumberElementType getPhoneNumberElement()
      Type of the phone number element.
    • getNumber

      public String getNumber()
      The actual number part. May contain characters as variable if no number was supplied to the service (for the local-number part).
    • getDescription

      public String getDescription()
      Textual description of the composition part.
    • fromNode

      public static Composition fromNode(Node node) throws MalformedXMLException
      Throws:
      MalformedXMLException