MinieLibrary/src/main/java/com/jme3/bullet/animation/DacLinks.java
/**
     * De-serialize this Control from the specified importer, for example when
     * loading from a J3O file.
     *
     * @param importer (not null)
     * @throws IOException from the importer
     */
De-serialize this Control from the specified importer, for example when
loading from a J3O file.

@param importer (not null)
@throws IOException from the importer
De - serialize this Control from the specified importer for example when loading from a J3O file . @param importer ( not null ) @throws IOException from the importer
@Override
    @SuppressWarnings("unchecked")
    public void read(JmeImporter importer) throws IOException {
        super.read(importer);
        InputCapsule capsule = importer.getCapsule(this);
        boneLinkList = capsule.readSavableArrayList(tagBoneLinkList, null);
        if (boneLinkList != null) {
            for (BoneLink link : boneLinkList) {
                String name = link.boneName();
                boneLinks.put(name, link);
            }
        }
        Savable[] savableArray = capsule.readSavableArray(tagAttachmentLinks,
                new AttachmentLink[0]);
        for (Savable savable : savableArray) {
            AttachmentLink link = (AttachmentLink) savable;
            String name = link.boneName();
            attachmentLinks.put(name, link);
        }
        armature = (Armature) capsule.readSavable(tagArmature, null);
        skeleton = (Skeleton) capsule.readSavable(tagSkeleton, null);
        transformer = (Spatial) capsule.readSavable(tagTransformer, null);
        torsoLink = (TorsoLink) capsule.readSavable(tagTorsoLink, null);
    }
@ Override @ SuppressWarnings ( "unchecked" ) public void read ( JmeImporter importer ) throws IOException { super . read ( importer ) ; InputCapsule capsule = importer . getCapsule ( this ) ; boneLinkList = capsule . readSavableArrayList ( tagBoneLinkList , null ) ; if ( boneLinkList != null ) { for ( BoneLink link : boneLinkList ) { String name = link . boneName ( ) ; boneLinks . put ( name , link ) ; } } Savable [ ] savableArray = capsule . readSavableArray ( tagAttachmentLinks , new AttachmentLink [ 0 ] ) ; for ( Savable savable : savableArray ) { AttachmentLink link = ( AttachmentLink ) savable ; String name = link . boneName ( ) ; attachmentLinks . put ( name , link ) ; } armature = ( Armature ) capsule . readSavable ( tagArmature , null ) ; skeleton = ( Skeleton ) capsule . readSavable ( tagSkeleton , null ) ; transformer = ( Spatial ) capsule . readSavable ( tagTransformer , null ) ; torsoLink = ( TorsoLink ) capsule . readSavable ( tagTorsoLink , null ) ; }
De-serialize this Control from the specified importer, for example when
 loading from a J3O file.
De - serialize this Control from the specified importer for example when loading from a J3O file .