Why cant you use xsd schema? It can define the max and min length of element text and attribute. Or you can possibly use DTD. And the most "stupid" variant. Every time you pass the XML you can add "rule" tags, for example:
[ November 25, 2008: Message edited by: Sergey Arnaut ]
Before UML people used IDEF group, from ICAM family. Or may be SADT. Thanks to US Air Defence))))))
As of 1995 methods 5 through 14 have not been pursued in depth.[2] Methods: IDEF0 : Function modeling IDEF1 : Information Modeling IDEF1X : Data Modeling IDEF2 : Simulation Model Design IDEF3 : Process Description Capture IDEF4 : Object-Oriented Design IDEF5 : Ontology Description Capture IDEF6 : Design Rationale Capture IDEF7 : Information System Auditing IDEF8 : User Interface Modeling IDEF9 : Scenario-Driven IS Design IDEF10 : Implementation Architecture Modeling IDEF11 : Information Artifact Modeling IDEF12 : Organization Modeling IDEF13 : Three Schema Mapping Design IDEF14 : Network Design
Main difference is that IDEF is hard to reuse. If something was changed in model - we must redesign the whole model (In UML we can divide model into independent blocks, which can act independently). That`s why there were need to UML was created.
But I think IDEF model is good too. It`s more comlex to learn, but more simple to understand for specialists.
For using IDEF, I think best programm is BPwin. I designed there IDEF0,IDEF1 and IDEF3 models.
[ November 21, 2008: Message edited by: Sergey Arnaut ] [ November 21, 2008: Message edited by: Sergey Arnaut ]
The java implementationof iterator pattern allows user to traverse carious types of data sets without worrying about the underlying implementation of collection. Since clients simply interact with the iterator for themselves. Some will allow full access to the underlying data sets while others may restrict certain functionalities, such as removing items.
---- "Design patterns" by Jason McDonald
For example, just open src.zip in your JAVA_HOME or whait a few ours till I found my old examples