示例#1
0
        @Override
        public void read(
            javolution.xml.XMLFormat.InputElement xml, CallingPartyNumberImpl callingPartyNumber)
            throws XMLStreamException {
          ISUP_ABSTRACT_NAI_NUMBER_XML.read(xml, callingPartyNumber);

          callingPartyNumber.numberingPlanIndicator =
              xml.getAttribute(NUMBERING_PLAN_INDICATOR, DEFAULT_NUMBERING_PLAN_INDICATOR);
          callingPartyNumber.numberIncompleteIndicator =
              xml.getAttribute(
                  NUMBER_NUMBER_INCOMPLETE_INDICATOR, DEFAULT_NUMBER_NUMBER_INCOMPLETE_INDICATOR);
          callingPartyNumber.addressRepresentationRestrictedIndicator =
              xml.getAttribute(
                  ADDRESS_REPRESENTATION_RESTRICTED_INDICATOR,
                  DEFAULT_ADDRESS_REPRESENTATION_RESTRICTED_INDICATOR);
          callingPartyNumber.screeningIndicator =
              xml.getAttribute(SCREENING_INDICATOR, DEFAULT_SCREENING_INDICATOR);
        }