Replace type code with polymorphism at methods printXMLOn,
printDocument, printHTMLOn from lanSimulation.internals.Node,
lanSimulation.internals.Printer, lanSimulation.internals.Workstation