[Solved]Lab 10 Instructionspdf Secured Adobe Reader File Edit View Window Help Tools Fill 8 Sign C Q37032590
Need help with this



XML:

Continued

Lab 10 Instructions.pdf (SECURED)-Adobe Reader File Edit View Window Help Tools Fill 8 Sign Comment 75% Sign In In Lab 09, you prepared “helper code to assist in XML serialization/deserialization of objects in the Pet herardhy. In this lab, you will produco the code to complote the doserialization of a provided XML document containing Pet objects. Then you wil otput information about each object in the deserialized collection in reverse order ▼ Export PDF Adobe ExportPDF Convert PDF files to Word or Excel online. Select PDF File: Provided to You The following are provided to you: These instructions · UML Class Diagrams for the Pet hierarchy e A zipped folder (Lab 10 Starting Point) containing the following sempile moyles Lab 10 Instructions.pd 1 file/164 KB o Pet.class o Mammal.class o Reptile.class o Pets.class Convert To: Microsoft Word (docx) PetsXn1serial·oıl-the XML document containing the serialized objects. . . Expected output Recognize Text in English(U.S.) Change Preparation Copy the Lab 10 Starting Point zipped folder into the new foldor you will use for this lab. Extract the files directly to the lab folder. D NOT DELETE the zipped folder-you will want to keep it handy, i st in case you need to “refresh, fhe pre- compiled code. Convert The Pets.class ‘helper code uses the name pets for the Collection declared in the helper code. You should not require any additional information regarding the code within that dass file- it follows language and industry standards – Create PDF Requirements Write code to complete the following tasks Edit PDF Combine PDF Send Files Store Files 1. Open the input file The XML document is contained in the file PetsXmlSerial.xml, provided to you Use a fry statemont to handle any possible IOException that may occur a. b. 2. Deserialize the Collection in the XML document Ube an iterwter based on the Collection of Pet objects to move through the Collection, first objed to last, and output the returm from each object’s tostring method. 3. Cloce the input file Uze a try statemont to handle any possible IOException that may occur a. Name your code Lab10.java Subrnit a zpped folder containing your completed code (only!) аз an attachment to the lab csignment. As 뤄 reminder, any submission that does not compile dearly or execute without any unexpected issues will earn a grade 8-57 PM 4/16/2019 O Type here to search A o UML Class Diagrams Pet Hierarchy-1.pdf (SECURED) – Adobe Reader File Edit View Window Help – + | 100% | Tools Fill 8 Sign Comment Pet (abstract) Attributes Pet’s name Pet’s Pet’s parent (owner) name Pet’s private name: Stri NOTE: not bree : Stri ate parent:S in yyw/mm/dd format: 2017/02/28 ate birtho Operations public <cconstructoP: Pet public <cconstructor Pename: String Default or null constructor; returns a reference to a fully functional Pet ob Constructor accepting four (4) parameters, all of type String. Returns areference to a fully formed and functional Pet object species: String, parent:String, birthday: String: Pet Returns a formatted String containing a verbose description of the Pet object ublic toString: Stri Set and get methods are assumed; further, standard naming is assumed for these methods NOTE: pa ^ 4司4/17/2019 O Type here to search Lab 10 Expected Results.pdf (SECURED)-Adobe Reader File Edit View Window Help – + | 100% | Tools Fill 8 Sign Comment Lab 10 Expected Results Deserialized Objects from XML Input In REVERSE Order Dog is a n)Dog whose parent is Walt and was born on unknown. This Mammal requires the following vaccinations: Rabies, Distemper, Parvo Sonny is a(n)Horse whose parent is Graciela and was born on 1997/09/16. This Mammal requires the following accinations: EEE/WEE Ary is a n)NA River Otter whose parent is Bill and was born on 2015/03/12. This Mammal requires the following vaccinations: Closed Nest, River, Large Space Bubba is a (n)American Alligator whose parent is Alcide and was born on 1995/04/28. The Reptile’s required environment is Sun/Shade, Pond, Large Space Bob is a (n)Sulcata Tortoise whose parent is Janny and was born on 2004/05/22. The Reptile’s required environment is Dry, Large Open Space Slinky is a(n)Boa Constrictor whose parent is Kevin and was born on 2017/06/17. The Reptile’s required environment is Warm, Leafy, Damp. Sweet Cheeks is a n)Sugar Glider whose parent is Bel and was born on 2018/02/23. This Mammal requires the following vaccinations: Rabies Crush is a(n)Turtle whose parent is Bobby and was born on 1990/04/22. The Reptile’s required environment is Water, Warm Cocoa is a(n)Dog whose parent is Jean and was born on 2008/10/04. This Mammal requires the following vaccinations: Rabies, Distemper, Parvo pa ^ 4司4/17/2019 O Type here to search <birthday 2008/10 04/birthday> parent Jean</parent <species>Dogc/species> <var Rabies, Distemper, Parvo/var> </mamma <birthday 1990/04/22</birthday> Cname>Crushe/name eparent Bobbye/parent:> <species> Turtlec/species> cenviro> Water, Warmenviro> <birthday 2018/02/23</birthday> Cname> Sweet Cheeks/name? parent Bel</parent <species>Sugar Gliderc/species> evar Rabies/ar </mamma -creptile> <birthday 2017/06/17/birthday> <name>Slinky</name> parent Kevin<parent <species Boa Constrictor</species> Eenviro Warm, Leafy, Damp enviros <reptile> -creptile> <birthday 2004/05/22/birthday> parent Jannyparent <species>Sulcata Tortoisec/species> enviro>Dry, Large Open Spacec/enviro> </reptile> -creptile> <birthday 1995/04/28/birthday> Cname>Bubbaname> parent Alcidecparent cenviro>Sun/Shade, Pond, Large Spaceclenviro> <birthday 2015/03/12</birthday> parent Bill</parent <species>NA River Otterc/species> <var>Closed Nest, River, Large Spacear </mamma <birthday 2018/02/23</birthday> Cname> Sweet Cheeks/name? parent Bel</parent <species>Sugar Gliderc/species> evar Rabies/ar </mamma -creptile> <birthday 2017/06/17/birthday> <name>Slinky</name> parent Kevin<parent <species Boa Constrictor</species> Eenviro Warm, Leafy, Damp enviros <reptile> -creptile> <birthday 2004/05/22/birthday> parent Jannyparent <species>Sulcata Tortoisec/species> enviro>Dry, Large Open Spacec/enviro> </reptile> -creptile> <birthday 1995/04/28/birthday> Cname>Bubbaname> parent Alcidecparent cenviro>Sun/Shade, Pond, Large Spaceclenviro> <birthday 2015/03/12</birthday> parent Bill</parent <species>NA River Otterc/species> <var>Closed Nest, River, Large Spacear </mamma <birthday 1997/09/16/birthday> <name>Sonny<name> parent Gracielac/parent <species>Horsec/species> aEEE/WEE</var> </mamma <birthday unknown</birthday <name>Dog</name: parent Walt</parent? <species>Dogc/species> <var Rabies, Distemper, Parvo/var> pets> Show transcribed image text Lab 10 Instructions.pdf (SECURED)-Adobe Reader File Edit View Window Help Tools Fill 8 Sign Comment 75% Sign In In Lab 09, you prepared “helper code to assist in XML serialization/deserialization of objects in the Pet herardhy. In this lab, you will produco the code to complote the doserialization of a provided XML document containing Pet objects. Then you wil otput information about each object in the deserialized collection in reverse order ▼ Export PDF Adobe ExportPDF Convert PDF files to Word or Excel online. Select PDF File: Provided to You The following are provided to you: These instructions · UML Class Diagrams for the Pet hierarchy e A zipped folder (Lab 10 Starting Point) containing the following sempile moyles Lab 10 Instructions.pd 1 file/164 KB o Pet.class o Mammal.class o Reptile.class o Pets.class Convert To: Microsoft Word (docx) PetsXn1serial·oıl-the XML document containing the serialized objects. . . Expected output Recognize Text in English(U.S.) Change Preparation Copy the Lab 10 Starting Point zipped folder into the new foldor you will use for this lab. Extract the files directly to the lab folder. D NOT DELETE the zipped folder-you will want to keep it handy, i st in case you need to “refresh, fhe pre- compiled code. Convert The Pets.class ‘helper code uses the name pets for the Collection declared in the helper code. You should not require any additional information regarding the code within that dass file- it follows language and industry standards – Create PDF Requirements Write code to complete the following tasks Edit PDF Combine PDF Send Files Store Files 1. Open the input file The XML document is contained in the file PetsXmlSerial.xml, provided to you Use a fry statemont to handle any possible IOException that may occur a. b. 2. Deserialize the Collection in the XML document Ube an iterwter based on the Collection of Pet objects to move through the Collection, first objed to last, and output the returm from each object’s tostring method. 3. Cloce the input file Uze a try statemont to handle any possible IOException that may occur a. Name your code Lab10.java Subrnit a zpped folder containing your completed code (only!) аз an attachment to the lab csignment. As 뤄 reminder, any submission that does not compile dearly or execute without any unexpected issues will earn a grade 8-57 PM 4/16/2019 O Type here to search A o
UML Class Diagrams Pet Hierarchy-1.pdf (SECURED) – Adobe Reader File Edit View Window Help – + | 100% | Tools Fill 8 Sign Comment Pet (abstract) Attributes Pet’s name Pet’s Pet’s parent (owner) name Pet’s private name: Stri NOTE: not bree : Stri ate parent:S in yyw/mm/dd format: 2017/02/28 ate birtho Operations public Water, Warmenviro> Sweet Cheeks/name? parent Bel evar Rabies/ar Slinky parent Kevin enviro>Dry, Large Open Spacec/enviro> -creptile> Cname>Bubbaname> parent Alcidecparent cenviro>Sun/Shade, Pond, Large Spaceclenviro> -creptile> Cname>Bubbaname> parent Alcidecparent cenviro>Sun/Shade, Pond, Large Spaceclenviro>
Expert Answer
Answer to Lab 10 Instructions.pdf (SECURED)-Adobe Reader File Edit View Window Help Tools Fill 8 Sign Comment 75% Sign In In Lab 0… . . .
OR

