|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mro.util.measures.Measure mro.util.measures.MeasureGroup mro.util.measures.Measures
public class Measures
Measure
,
MeasureGroup
Field Summary |
---|
Fields inherited from class mro.util.measures.Measure |
---|
description, iogrelative, name, roundFloatToNumOfDecimals, roundValue, stamp, value |
Constructor Summary | |
---|---|
Measures(MeasureGroup mg)
Shallow copy constructor. |
|
Measures(java.lang.String name)
A constructor. |
Method Summary | |
---|---|
static Measures |
load(java.io.File file)
Loads a measures-object from the specified file. |
static Measures |
load(java.lang.String fileName)
Loads a measures-object from a file with the specified file name. |
static Measures |
loadXML(org.xml.sax.InputSource source)
Loads a measures-object from an java.io.InputSource . |
static void |
printDTD(java.io.PrintWriter pw)
Prints the complete DTD of a measures-XML-file to a PrintWriter . |
static void |
printmeasuresXSLReference(java.io.PrintWriter pw)
Prints a reference to the measures-XSL-file to a PrintWriter . |
void |
printOut()
|
static void |
printPartDTD(java.io.PrintWriter pw)
Prints the DTD of a measures-XML-file to a PrintWriter . |
void |
printPartXML(java.io.PrintWriter pw)
|
void |
printXML(java.io.PrintWriter pw)
Prints the measures to a PrintWriter . |
void |
printXSL(java.io.PrintWriter pw)
Prints a basic XSL-file for measures XML-files to a PrintWriter . |
void |
save(java.io.File f)
|
void |
save(java.lang.String fileName)
Saves a measures-object to a file with the specified file name. |
Methods inherited from class mro.util.measures.MeasureGroup |
---|
addMeasure, addMeasureVector, constructAverageMeasures, copy, divide, getMeasure, getMeasureGroup, getMeasureVector, getName, relative, setAllMeasuresStampsRecursively, setName, size, subtract, toString |
Methods inherited from class mro.util.measures.Measure |
---|
difference, divide, getDescription, getRelativeIObjectGroup, getStamp, getValue, normDifference, setDescription, setStamp, setValue, subtract |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Measures(java.lang.String name)
public Measures(MeasureGroup mg) throws MeasureNameConflictException
MeasureNameConflictException
Method Detail |
---|
public void save(java.lang.String fileName)
public void save(java.io.File f)
public static void printDTD(java.io.PrintWriter pw) throws java.io.IOException
PrintWriter
.
java.io.IOException
public static void printPartDTD(java.io.PrintWriter pw) throws java.io.IOException
PrintWriter
. Only the elements.
This method may be used when the measures-XML should
be part of a larger XML.
java.io.IOException
public static void printmeasuresXSLReference(java.io.PrintWriter pw) throws java.io.IOException
PrintWriter
.
java.io.IOException
public void printXML(java.io.PrintWriter pw) throws java.io.IOException
PrintWriter
.
printXML
in class MeasureGroup
java.io.IOException
public void printOut()
public void printPartXML(java.io.PrintWriter pw) throws java.io.IOException
java.io.IOException
public void printXSL(java.io.PrintWriter pw) throws java.io.IOException
PrintWriter
.
java.io.IOException
public static Measures load(java.lang.String fileName)
public static Measures load(java.io.File file)
public static Measures loadXML(org.xml.sax.InputSource source)
java.io.InputSource
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |