Deprecated API


Contents
Deprecated Classes
org.vishia.byteData.Reflection_Jc
            
 

Deprecated Fields
org.vishia.mainCmd.Report.anytime
          use instead Report.error or Report.errorDisplay 
org.vishia.mainCmd.Report.eventOrder
          use instead Report.info or Report.infoDisplay 
org.vishia.mainCmd.Report.fineEventOrder
          use instead Report.fineInfo or Report.infoDisplay 
org.vishia.mainCmd.Report.interested
          use instead Report.warning or Report.warningDisplay 
org.vishia.xml.XmlExtensions.XmlMode.kConvertXmlASCII
            
org.vishia.xml.XmlExtensions.XmlMode.kConvertXmlIso8859
            
org.vishia.xml.XmlExtensions.XmlMode.kConvertXmlUTF8
            
org.vishia.xml.XmlExtensions.kEncoding_ASCII
            
org.vishia.xml.XmlExtensions.kEncoding_ISO_8859_1
            
org.vishia.xml.XmlExtensions.kEncoding_UTF_8
            
org.vishia.communication.InspcDataExchangeAccess.Info.kGetFieldsFurther
            
 

Deprecated Methods
org.vishia.util.StringFormatter.addIntPicture(long, String)
          see StringFormatter.addint(long nr,String sPict) 
org.vishia.byteData.ByteDataAccess.addText(String)
            
org.vishia.util.SortedList.addTextFile(File, Class)
          it is from the old implementation ... TODO 
org.vishia.byteData.ByteDataAccess.assignAsChild(ByteDataAccess)
          use addChild() 
org.vishia.java2C.test.TestAllConcepts.checkConcatCallReturnThisTypefixNonVirtual()
          In this case the calling instance is the same as the returned instance, which is the calling instance for the next concatenated call. In Java it is written:
 a =implifc.returnThisA(34).returnThisA(56).processIfcMethod(44);
 
Because the reference implifc is a embedded instance and the type of it is fix, (the same is for stack instances or @ java2c=instanceType:"Type"-designated references), all method-calls are execute non-dynamic. Because a @ java2c=return-this is designated to the called method, the Java2C-translator accept that the result instance is the same as calling instance, but because that is type-fix, the concatenated call is execute non-dynamic too.
  
 a = 
   ( returnThisA_ImplIfcTest_F(& (ythis->implifc), 34, _thCxt)
   , returnThisA_ImplIfcTest_F(& (ythis->implifc), 56, _thCxt)
   , processIfcMethod_i_ImplIfcTest_F(&((& ((ythis->implifc).base.IfcToTest))->base.object), 44, _thCxt)
   );
 
The instance to call the method is implifc always, it's the first parameter of any called method. That is because the methods are labeled to @ java2c=return-this. The concatenation in Java is presented as a comma-separated expression, see TestAllConcepts.checkConcatenationSimple(). But in this case no temporary references are needed, it is more simple. Lastly the concatenated methods in Java are only a simplifying of writing of the method calls with the same reference.

Note: the expression &((& ((ythis->implifc).base.IfcToTest))->base.object) is needed because the processIfcMethod_i_ImplIfcTest_F is a method of the interface type.
 
org.vishia.mainCmd.MainCmd.executeCmdLine(String[], ProcessBuilder, int, StringBuffer, String)
            
org.vishia.mainCmd.MainCmd.executeCmdLine(String, ProcessBuilder, int, StringBuffer, String)
            
org.vishia.util.StringPart.getLen()
            
org.vishia.mainCmd.MainCmdWin.getMainDialog()
            
org.vishia.util.StringPart.isFound()
          see StringPart.found() 
org.vishia.byteData.reflection_Jc.Reflection_Jc.Field.isInteger()
          see Reflection_Jc.Field.bytesInteger() 
org.vishia.zbnf.ZbnfParseResultItem.next()
          use instead ZbnfParseResultItem.iteratorChildren() or getChildren() from the parent item. 
org.vishia.zbnf.ZbnfParseResultItem.next(ZbnfParseResultItem)
          use instead ZbnfParseResultItem.iteratorChildren() or getChildren() from the parent item. 
org.vishia.zbnf.ZbnfParseResultItem.nextSkipIntoComponent(ZbnfParseResultItem)
          use instead ZbnfParseResultItem.iteratorChildren() or getChildren() from the current item. 
org.vishia.java2C.LocalIdents.putClassType(String, String, ClassData, String, ClassData)
          use #putClassType(String, ClassData) 
org.vishia.mainCmd.MainCmdWin.setMainDialog()
            
org.vishia.mainCmd.MainCmdWin.setMainDialog(int, int, int, int)
            
org.vishia.util.StringPart.skipWhitespaceAndComment()
          see StringPart.seekNoWhitespaceOrComments() 
org.vishia.util.SortedList.writeTextFile(File)
          it is from the old implementation ... TODO 
org.vishia.xml.XmlExtensions.writeXmlFile(Element, String)
            
org.vishia.xml.XmlExtensions.XmlMode.xxxgetEncoding()