catch (IOException myIOException) {
}
}
}
TerminatingDescriptor myTerminatingDescriptor = new TerminatingDescriptor();
/*
// full element with descriptor tag
myTerminatingDescriptor.DescriptorTag.TagSerialNumber = tagSerialNumber;
myTerminatingDescriptor.DescriptorTag.DescriptorVersion = descriptorVersion;
myTerminatingDescriptor.DescriptorTag.TagLocation = tagLocation;
super.data( new ByteArrayDataReference( myTerminatingDescriptor.getBytes( blockSize ) ) );
*/
// without descriptor tag (handled in next pipeline section)
super.startElement(new SabreUDFElement(SabreUDFElement.UDFElementType.DescriptorTag));
super.data(new WordDataReference(8)); // tag identifier
super.data(new WordDataReference(tagLocation)); // tag location
super.data(new WordDataReference(tagSerialNumber)); // tag serial number
super.data(new WordDataReference(descriptorVersion)); // descriptor version
super.data(new ByteArrayDataReference(myTerminatingDescriptor.getBytesWithoutDescriptorTag()));
super.endElement();
}