Exemplo n.º 1
0
 public int dump(DumpContext dc) throws IOException {
   dc.indent();
   dc.getPs().print("StatusfieldCheck\n");
   dc.increaseIndent();
   int retVal = 0;
   // write caPmtCmdId
   dc.indent();
   dc.getPs()
       .println("caPmtCmdId=" + caPmtCmdId + "(0x" + Integer.toHexString(caPmtCmdId) + ")");
   // write programInfoLength
   {
     ArrayList<CaDescriptor> temp1 = programInfoLength;
     for (int iIdx = 0; iIdx < temp1.getCount(); iIdx++) {
       CaDescriptor element = temp1.get(iIdx);
       dc.indent();
       dc.getPs().println(iIdx);
       if (element != null) {
         dc.indent();
         dc.getPs().println("element");
         retVal += element.dump(dc);
       }
     }
   }
   dc.decreaseIndent();
   return retVal;
 }
Exemplo n.º 2
0
 public int dump(DumpContext dc) throws IOException {
   dc.indent();
   dc.getPs().print("nOF\n");
   dc.increaseIndent();
   int retVal = 0;
   // write featureId
   dc.indent();
   dc.getPs().println("featureId=" + featureId + "(0x" + Integer.toHexString(featureId) + ")");
   // write status
   dc.indent();
   dc.getPs().println("status=" + status + "(0x" + Integer.toHexString(status) + ")");
   dc.decreaseIndent();
   return retVal;
 }
Exemplo n.º 3
0
 public int dump(DumpContext dc) throws IOException {
   dc.indent();
   dc.getPs().print("ProgramProfileCnf\n");
   dc.increaseIndent();
   int retVal = 0;
   // write header
   if (header != null) {
     dc.indent();
     dc.getPs().println("header");
     retVal += header.dump(dc);
   }
   // write length
   dc.indent();
   dc.getPs().println("length=" + length + "(0x" + Integer.toHexString(length) + ")");
   dc.decreaseIndent();
   return retVal;
 }
Exemplo n.º 4
0
 public int dump(DumpContext dc) throws IOException {
   dc.indent();
   dc.getPs().print("ProgramInfo\n");
   dc.increaseIndent();
   int retVal = 0;
   // write bf1
   {
     dc.indent();
     dc.getPs().print("reserved2: ");
     dc.getPs().println(BitField_8.toDisplayString(getReserved2(), 4));
     dc.indent();
     dc.getPs().print("programInfoLength: ");
     dc.getPs().println(BitField_8.toDisplayString(getProgramInfoLength(), 12));
   }
   // write programInfo
   if (programInfo != null) {
     dc.indent();
     dc.getPs().println("programInfo");
     retVal += programInfo.dump(dc);
   }
   dc.decreaseIndent();
   return retVal;
 }
 public int dump(DumpContext dc) throws IOException {
   dc.indent();
   dc.getPs().print("abstract_service_descriptor\n");
   dc.increaseIndent();
   int retVal = 0;
   // write desc_header
   if (desc_header != null) {
     dc.indent();
     dc.getPs().println("desc_header");
     retVal += desc_header.dump(dc);
   }
   // write service_id
   dc.indent();
   dc.getPs().println("service_id=" + service_id + "(0x" + Integer.toHexString(service_id) + ")");
   // write bf1
   {
     dc.indent();
     dc.getPs().print("reserved: ");
     dc.getPs().println(BitField_8.toDisplayString(getReserved(), 7));
     dc.indent();
     dc.getPs().print("auto_select: ");
     dc.getPs().println(BitField_8.toDisplayString(getAuto_select(), 5));
   }
   // write service_name
   dc.indent();
   dc.getPs()
       .print(
           "service_name: "
               + service_name.getSize()
               + "(0x"
               + Integer.toHexString(service_name.getSize())
               + ")\n");
   this.service_name.dump(dc);
   dc.decreaseIndent();
   return retVal;
 }
Exemplo n.º 6
0
 public int dump(DumpContext dc) throws IOException {
   dc.indent();
   dc.getPs().print("CaPmtMMode2_1\n");
   dc.increaseIndent();
   int retVal = 0;
   // write header
   if (header != null) {
     dc.indent();
     dc.getPs().println("header");
     retVal += header.dump(dc);
   }
   // write length
   dc.indent();
   dc.getPs().println("length=" + length + "(0x" + Integer.toHexString(length) + ")");
   // write programIndex
   dc.indent();
   dc.getPs()
       .println("programIndex=" + programIndex + "(0x" + Integer.toHexString(programIndex) + ")");
   // write txnId
   dc.indent();
   dc.getPs().println("txnId=" + txnId + "(0x" + Integer.toHexString(txnId) + ")");
   // write ltsid
   dc.indent();
   dc.getPs().println("ltsid=" + ltsid + "(0x" + Integer.toHexString(ltsid) + ")");
   // write programNumber
   dc.indent();
   dc.getPs()
       .println(
           "programNumber=" + programNumber + "(0x" + Integer.toHexString(programNumber) + ")");
   // write sourceId
   dc.indent();
   dc.getPs().println("sourceId=" + sourceId + "(0x" + Integer.toHexString(sourceId) + ")");
   // write caPmtCmdId
   dc.indent();
   dc.getPs().println("caPmtCmdId=" + caPmtCmdId + "(0x" + Integer.toHexString(caPmtCmdId) + ")");
   // write bf2
   {
     dc.indent();
     dc.getPs().print("reserved: ");
     dc.getPs().println(BitField_8.toDisplayString(getReserved(), 5));
     dc.indent();
     dc.getPs().print("programInfoLength: ");
     dc.getPs().println(BitField_8.toDisplayString(getProgramInfoLength(), 12));
   }
   // write StatusfieldCheckInstance
   if (StatusfieldCheckInstance != null) {
     dc.indent();
     dc.getPs().println("StatusfieldCheckInstance");
     retVal += StatusfieldCheckInstance.dump(dc);
   }
   // write CaEntries
   {
     ArrayList<CaPmtModeMsg> temp1 = CaEntries;
     for (int iIdx = 0; iIdx < temp1.getCount(); iIdx++) {
       CaPmtModeMsg element = temp1.get(iIdx);
       dc.indent();
       dc.getPs().println(iIdx);
       if (element != null) {
         dc.indent();
         dc.getPs().println("element");
         retVal += element.dump(dc);
       }
     }
   }
   dc.decreaseIndent();
   return retVal;
 }
Exemplo n.º 7
0
 public int dump(DumpContext dc) throws IOException {
   dc.indent();
   dc.getPs().print("code_version_table2_\n");
   dc.increaseIndent();
   int retVal = 0;
   // write header
   if (header != null) {
     dc.indent();
     dc.getPs().println("header");
     retVal += header.dump(dc);
   }
   // write protocol_version
   dc.indent();
   dc.getPs()
       .println(
           "protocol_version="
               + protocol_version
               + "(0x"
               + Integer.toHexString(protocol_version)
               + ")");
   // write configuration_count_change
   dc.indent();
   dc.getPs()
       .println(
           "configuration_count_change="
               + configuration_count_change
               + "(0x"
               + Integer.toHexString(configuration_count_change)
               + ")");
   // write resources
   if (resources != null) {
     dc.indent();
     dc.getPs().println("resources");
     retVal += resources.dump(dc);
   }
   // write pvData
   if (pvData != null) {
     dc.indent();
     dc.getPs().println("pvData");
     retVal += pvData.dump(dc);
   }
   // write certificateCount
   dc.indent();
   dc.getPs()
       .println(
           "certificateCount="
               + certificateCount
               + "(0x"
               + Integer.toHexString(certificateCount)
               + ")");
   // write cvCertificates
   {
     ArrayList<CVCertificate> temp1 = cvCertificates;
     for (int iIdx = 0; iIdx < temp1.getCount(); iIdx++) {
       CVCertificate element = temp1.get(iIdx);
       dc.indent();
       dc.getPs().println(iIdx);
       if (element != null) {
         dc.indent();
         dc.getPs().println("element");
         retVal += element.dump(dc);
       }
     }
   }
   dc.decreaseIndent();
   return retVal;
 }
Exemplo n.º 8
0
 public int dump(DumpContext dc) throws IOException {
   dc.indent();
   dc.getPs().print("CaPmtSMode1_2\n");
   dc.increaseIndent();
   int retVal = 0;
   // write header
   if (header != null) {
     dc.indent();
     dc.getPs().println("header");
     retVal += header.dump(dc);
   }
   // write length
   dc.indent();
   dc.getPs().println("length=" + length + "(0x" + Integer.toHexString(length) + ")");
   // write caPmtlisMngement
   dc.indent();
   dc.getPs()
       .println(
           "caPmtlisMngement="
               + caPmtlisMngement
               + "(0x"
               + Integer.toHexString(caPmtlisMngement)
               + ")");
   // write programNumber
   dc.indent();
   dc.getPs()
       .println(
           "programNumber=" + programNumber + "(0x" + Integer.toHexString(programNumber) + ")");
   // write bf1
   {
     dc.indent();
     dc.getPs().print("reserved1: ");
     dc.getPs().println(BitField_8.toDisplayString(getReserved1(), 2));
     dc.indent();
     dc.getPs().print("versionNumber: ");
     dc.getPs().println(BitField_8.toDisplayString(getVersionNumber(), 5));
     dc.indent();
     dc.getPs().print("currentNext: ");
     dc.getPs().println(BitField_8.toDisplayString(getCurrentNext(), 1));
   }
   // write bf2
   {
     dc.indent();
     dc.getPs().print("reserved: ");
     dc.getPs().println(BitField_8.toDisplayString(getReserved(), 5));
     dc.indent();
     dc.getPs().print("programInfoLength: ");
     dc.getPs().println(BitField_8.toDisplayString(getProgramInfoLength(), 12));
   }
   // write StatusfieldCheckInstance
   if (StatusfieldCheckInstance != null) {
     dc.indent();
     dc.getPs().println("StatusfieldCheckInstance");
     retVal += StatusfieldCheckInstance.dump(dc);
   }
   // write CaEntries
   {
     ArrayList<CaPmtModeMsg> temp1 = CaEntries;
     for (int iIdx = 0; iIdx < temp1.getCount(); iIdx++) {
       CaPmtModeMsg element = temp1.get(iIdx);
       dc.indent();
       dc.getPs().println(iIdx);
       if (element != null) {
         dc.indent();
         dc.getPs().println("element");
         retVal += element.dump(dc);
       }
     }
   }
   dc.decreaseIndent();
   return retVal;
 }