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.getNamedElement_Title()), 
				cr(QmPackage.eINSTANCE.getDescribedElement_Description()), 
				cr(QmPackage.eINSTANCE.getEntity_QualityModel()) }); 
 
		out.print("<h4>Hierarchy</h4>");
 
		printTableOfStructuralElements( 
				out,
				new PropElement[] { 
						cr(QmPackage.eINSTANCE.getEntity_IsADirect()), 
						new FeatureMultipleOppositeReference( 
								QmPackage.eINSTANCE.getEntity_IsADirect(), 
								"Specialized by"), 
						cr(QmPackage.eINSTANCE.getEntity_PartOfDirect()), 
						new FeatureMultipleOppositeReference( 
								QmPackage.eINSTANCE.getEntity_PartOfDirect(), 
								"Consists of") }); 
 
		out.print("<h4>References</h4>");
 
		printTableOfStructuralElements( 
				out,
				new PropElement[] { 
						new FeatureMultipleOppositeReference( 
								QmPackage.eINSTANCE 
										.getCharacterizingElement_Characterizes(), 
								"Characterized by") }); 
		 
		printReferences(out);
 
	} 
 
}