Class MetaRecord
java.lang.Object
io.sf.carte.echosvg.transcoder.wmf.tosvg.MetaRecord
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MetaRecord.ByteRecord,- MetaRecord.StringRecord
This is used to keep data while processing WMF-files. It is tagged with a
 type and holds a list of Integer-objects. It seems, it might be rewritten to
 keep just the plain int-data.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classA record that contain byte arrays elements.static class
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal voidaddElement(int iValue) helper method to add int-values.final intelementAt(int offset) helper-method to return the plain int-value from the record and save the .intValue()-call at the caller's site.ElementAt(int offset) if you dont really need the Integer-object from this method it is recommended to use theelementAt()-method instead, which returns anint.
- 
Field Details- 
functionIdpublic int functionId
- 
numPointspublic int numPoints
 
- 
- 
Constructor Details- 
MetaRecordpublic MetaRecord()
 
- 
- 
Method Details- 
addElementpublic final void addElement(int iValue) helper method to add int-values. This way we keep the call to Integer.valueOf() in one place, here.- Parameters:
- iValue- the value to add to ptVector, wrapped in an Integer
 
- 
ElementAtif you dont really need the Integer-object from this method it is recommended to use theelementAt()-method instead, which returns anint.
- 
elementAtpublic final int elementAt(int offset) helper-method to return the plain int-value from the record and save the .intValue()-call at the caller's site.- Parameters:
- offset- of the element to get
- Returns:
- the intValue of the element at offset
 
 
-