Code example for PrintStream

Methods: print

0
	/** 
	 * {@inheritDoc} 
	 */ 
	@Override 
	protected void printContent(PrintStream out) throws IOException {
		out.print("<h4>Attributes</h4>");
 
		printTableOfStructuralElements( 
				out,
				new PropElement[] { 
						cr(QmPackage.eINSTANCE 
								.getQualityModelElement_QualifiedName()), 
						cr(QmPackage.eINSTANCE.getNamedElement_Name()), 
						cr(QmPackage.eINSTANCE 
								.getCharacterizingElement_Characterizes()), 
						cr(QmPackage.eINSTANCE.getNamedElement_Title()), 
						cr(QmPackage.eINSTANCE 
								.getDescribedElement_Description()), 
						cr(QmPackage.eINSTANCE.getFactor_QualityModel()), 
						new CompletenessExporter() }); 
 
		out.print("<h4>Hierarchy</h4>");
 
		printTableOfStructuralElements(out,
				new PropElement[] { new RefinedByPropElement(), 
						cr(QmPackage.eINSTANCE.getFactor_RefinesDirect()) }); 
 
		out.print("<h4>References</h4>");
 
		printTableOfStructuralElements( 
				out,
				new PropElement[] { 
						new FeatureMultipleOppositeReference( 
								QmPackage.eINSTANCE.getEvaluation_Evaluates(), 
								"Evaluated by"), 
						new FeatureMultipleOppositeReference( 
								QmPackage.eINSTANCE.getMeasure_MeasuresDirect(), 
								"Measured By"), 
						cr(QmPackage.eINSTANCE.getFactor_InfluencesDirect()), 
						new FeatureMultipleOppositeReference( 
								QmPackage.eINSTANCE 
										.getFactor_InfluencesDirect(), 
								"Influenced by") }); 
		 
		printReferences(out);
 
	}