question: public void outputExampleXML ( PrintWriter writer , AttributeRule rule ) { writer . print ( " " + rule . getName ( ) + "=\"" ) ; if ( rule . hasExample ( ) ) { writer . print ( rule . getExample ( ) ) ; } else { outputAttributeValue ( writer , rule . getAttributeClass ( ) ) ; } writer . print ( "\"" ) ; }
target:  Outputs an example of a rule, using the syntax information.