| UR documentation | Contained in the UR distribution. |
UR::Object::Umlet - Base class for entities diagrammed by Umlet
This class is used by the class and schema diagrammers (UR::Namespace::Command::Update::ClassDiagram and UR::Namespace::Command::Update::SchemaDiagram) and represents elements of a diagram.
| UR documentation | Contained in the UR distribution. |
use strict; use warnings; package UR::Object::Umlet; # Top-level class for Umlet diagram related things use UR; UR::Object::Type->define( is => 'UR::Object', class_name => __PACKAGE__, is_abstract => 1, ); # Turns things like '<' into '<' sub escape_xml_data { my($self,$string) = @_; $string =~ s/\</</g; $string =~ s/\>/>/g; return $string; } 1;