O'Reilly logo

Building Parsers with Java™ by Steven John Metsker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A.1. Classes

Figure A.1 applies some of the UML features for illustrating classes.

Figure A.1. Classes. Note that there is no guarantee that a UML diagram portrays every element of a package or class. The amount of detail in a diagram depends on the objective of the illustrator.

In Figure A.1, note the following.

  • A package appears as the name of the package in a rectangle left-aligned with a larger box that may show classes and interfaces. Figure A.1 shows a portion of the sjm.parse package.

  • A class appears as the name of a class centered in a rectangle. Figure A.1 shows three classes: Assembler, Assembly, and Repetition.

  • A diagram may show a class's ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required