• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java AttributeEntry类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.sun.tools.corba.se.idl.AttributeEntry的典型用法代码示例。如果您正苦于以下问题:Java AttributeEntry类的具体用法?Java AttributeEntry怎么用?Java AttributeEntry使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



AttributeEntry类属于com.sun.tools.corba.se.idl包,在下文中一共展示了AttributeEntry类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: interfaceMethod

import com.sun.tools.corba.se.idl.AttributeEntry; //导入依赖的package包/类
/**
 *
 **/
protected void interfaceMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream)
{
  AttributeEntry a = (AttributeEntry)m;

  // Generate for the get method
  super.interfaceMethod (symbolTable, a, stream);

  // Generate for the set method if the attribute is not readonly
  if (!a.readOnly ())
  {
    setupForSetMethod ();
    super.interfaceMethod (symbolTable, a, stream);
    clear ();
  }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:19,代码来源:AttributeGen.java


示例2: stub

import com.sun.tools.corba.se.idl.AttributeEntry; //导入依赖的package包/类
/**
 *
 **/
protected void stub (String className, boolean isAbstract, Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index)
{
  AttributeEntry a = (AttributeEntry)m;

  // Generate for the get method
  super.stub (className, isAbstract, symbolTable, a, stream, index);

  // Generate for the set method if the attribute is not readonly
  if (!a.readOnly ())
  {
    setupForSetMethod ();
    super.stub (className, isAbstract, symbolTable, a, stream, index + 1);
    clear ();
  }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:19,代码来源:AttributeGen.java


示例3: skeleton

import com.sun.tools.corba.se.idl.AttributeEntry; //导入依赖的package包/类
/**
 *
 **/
protected void skeleton (Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index)
{
  AttributeEntry a = (AttributeEntry)m;

  // Generate for the get method
  super.skeleton (symbolTable, a, stream, index);

  // Generate for the set method if the attribute is not readonly
  if (!a.readOnly ())
  {
    setupForSetMethod ();
    super.skeleton (symbolTable, a, stream, index + 1);
    clear ();
  }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:19,代码来源:AttributeGen.java


示例4: dispatchSkeleton

import com.sun.tools.corba.se.idl.AttributeEntry; //导入依赖的package包/类
/**
 *
 **/
protected void dispatchSkeleton (Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index)
{
  AttributeEntry a = (AttributeEntry)m;

  // Generate for the get method
  super.dispatchSkeleton (symbolTable, a, stream, index);

  // Generate for the set method if the attribute is not readonly
  if (!a.readOnly ())
  {
    setupForSetMethod ();
    super.dispatchSkeleton (symbolTable, m, stream, index + 1);
    clear ();
  }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:19,代码来源:AttributeGen.java


示例5: writeMethodTable

import com.sun.tools.corba.se.idl.AttributeEntry; //导入依赖的package包/类
/**
 *
 **/
protected void writeMethodTable ()
{
  // Write the methods hashtable
  stream.println ("  private static java.util.Hashtable _methods = new java.util.Hashtable ();");
  stream.println ("  static");
  stream.println ("  {");

  int count = -1;
  Enumeration e = methodList.elements ();
  while (e.hasMoreElements ())
  {
    MethodEntry method = (MethodEntry)e.nextElement ();
    if (method instanceof AttributeEntry)
    {
      stream.println ("    _methods.put (\"_get_" + Util.stripLeadingUnderscores (method.name ()) + "\", new java.lang.Integer (" + (++count) + "));");
      if (!((AttributeEntry)method).readOnly ())
        stream.println ("    _methods.put (\"_set_" + Util.stripLeadingUnderscores (method.name ()) + "\", new java.lang.Integer (" + (++count) + "));");
    }
    else
      stream.println ("    _methods.put (\"" + Util.stripLeadingUnderscores (method.name ()) + "\", new java.lang.Integer (" + (++count) + "));");
  }
  stream.println ("  }");
  stream.println ();
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:28,代码来源:Skeleton.java


示例6: writeMethods

import com.sun.tools.corba.se.idl.AttributeEntry; //导入依赖的package包/类
/**
 *
 **/
protected void writeMethods ()
{
    int realI = 0;
    for (int i = 0; i < methodList.size (); ++i)
        {
            MethodEntry method = (MethodEntry)methodList.elementAt (i);
            ((MethodGen)method.generator ()).skeleton
                (symbolTable, method, stream, realI);
            if (method instanceof AttributeEntry &&
                !((AttributeEntry)method).readOnly ())
                realI += 2;
            else
                ++realI;
            stream.println ();
        }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:20,代码来源:Skeleton.java


示例7: abstractMethod

import com.sun.tools.corba.se.idl.AttributeEntry; //导入依赖的package包/类
/**
 * <d62023-klr> Added for 2.4 RTF
 **/
protected void abstractMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream)
{
  AttributeEntry a = (AttributeEntry)m;

  // Generate for the get method
  super.abstractMethod (symbolTable, a, stream);

  // Generate for the set method if the attribute is not readonly
  if (!a.readOnly ())
  {
    setupForSetMethod ();
    super.abstractMethod (symbolTable, a, stream);
    clear ();
  }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:19,代码来源:AttributeGen24.java


示例8: interfaceMethod

import com.sun.tools.corba.se.idl.AttributeEntry; //导入依赖的package包/类
/**
 * <d62023-klr> Added for 2.4 RTF
 **/
protected void interfaceMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream)
{
  AttributeEntry a = (AttributeEntry)m;

  // Generate for the get method
  super.interfaceMethod (symbolTable, a, stream);

  // Generate for the set method if the attribute is not readonly
  if (!a.readOnly ())
  {
    setupForSetMethod ();
    super.interfaceMethod (symbolTable, a, stream);
    clear ();
  }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:19,代码来源:AttributeGen24.java


示例9: abstractMethod

import com.sun.tools.corba.se.idl.AttributeEntry; //导入依赖的package包/类
/**
 * (d62023-klr) Added for 2.4 RTF
 **/
protected void abstractMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream)
{
  AttributeEntry a = (AttributeEntry)m;

  // Generate for the get method
  super.abstractMethod (symbolTable, a, stream);

  // Generate for the set method if the attribute is not readonly
  if (!a.readOnly ())
  {
    setupForSetMethod ();
    super.abstractMethod (symbolTable, a, stream);
    clear ();
  }
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:19,代码来源:AttributeGen24.java


示例10: interfaceMethod

import com.sun.tools.corba.se.idl.AttributeEntry; //导入依赖的package包/类
/**
 * (d62023-klr) Added for 2.4 RTF
 **/
protected void interfaceMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream)
{
  AttributeEntry a = (AttributeEntry)m;

  // Generate for the get method
  super.interfaceMethod (symbolTable, a, stream);

  // Generate for the set method if the attribute is not readonly
  if (!a.readOnly ())
  {
    setupForSetMethod ();
    super.interfaceMethod (symbolTable, a, stream);
    clear ();
  }
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:19,代码来源:AttributeGen24.java



注:本文中的com.sun.tools.corba.se.idl.AttributeEntry类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java MRClientService类代码示例发布时间:2022-05-22
下一篇:
Java TangoEvent类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap