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

Java Include类代码示例

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

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



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

示例1: Include

import com.sun.xml.internal.rngom.ast.builder.Include; //导入依赖的package包/类
final public void Include(GrammarSection section, Scope scope, Annotations a) throws ParseException {
Token t;
String href;
String ns;
Include include = section.makeInclude();
  t = jj_consume_token(7);
  href = Literal();
  ns = Inherit();
  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
  case 11:
    jj_consume_token(11);
    a = IncludeBody(include, scope, a);
                                          topLevelComments(include);
    jj_consume_token(12);
    break;
  default:
    jj_la1[41] = jj_gen;
    ;
  }
  try {
    include.endInclude(parseable, resolve(href), ns, makeLocation(t), a);
  }
  catch (IllegalSchemaException e) { }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:25,代码来源:CompactSyntax.java


示例2: createChildState

import com.sun.xml.internal.rngom.ast.builder.Include; //导入依赖的package包/类
State createChildState(String localName) throws SAXException {
    if (localName.equals("define")) {
        return new DefineState(section);
    }
    if (localName.equals("start")) {
        return new StartState(section);
    }
    if (localName.equals("include")) {
        Include include = section.makeInclude();
        if (include != null) {
            return new IncludeState(include);
        }
    }
    if (localName.equals("div")) {
        return new DivState(section.makeDiv());
    }
    error("expected_define", localName);
    // XXX better errors
    return null;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:21,代码来源:SchemaParser.java


示例3: createChildState

import com.sun.xml.internal.rngom.ast.builder.Include; //导入依赖的package包/类
State createChildState(String localName) throws SAXException {
  if (localName.equals("define"))
    return new DefineState(section);
  if (localName.equals("start"))
    return new StartState(section);
  if (localName.equals("include")) {
    Include include = section.makeInclude();
    if (include != null)
      return new IncludeState(include);
  }
  if (localName.equals("div"))
    return new DivState(section.makeDiv());
  error("expected_define", localName);
  // XXX better errors
  return null;
}
 
开发者ID:alexkasko,项目名称:openjdk-icedtea7,代码行数:17,代码来源:SchemaParser.java


示例4: GrammarComponent

import com.sun.xml.internal.rngom.ast.builder.Include; //导入依赖的package包/类
final public void GrammarComponent(GrammarSection section, Scope scope) throws ParseException {
ParsedElementAnnotation e;
Annotations a;
  a = Annotations();
  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
  case 5:
  case IDENTIFIER:
  case ESCAPED_IDENTIFIER:
    Definition(section, scope, a);
    break;
  case 7:
    Include(section, scope, a);
    break;
  case 6:
    Div(section, scope, a);
    break;
  default:
    jj_la1[38] = jj_gen;
    jj_consume_token(-1);
    throw new ParseException();
  }
  label_14:
  while (true) {
    if (jj_2_4(2)) {
      ;
    } else {
      break label_14;
    }
    e = AnnotationElementNotKeyword();
                                                  section.topLevelAnnotation(e);
  }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:33,代码来源:CompactSyntax.java


示例5: makeInclude

import com.sun.xml.internal.rngom.ast.builder.Include; //导入依赖的package包/类
public Include makeInclude() {
    return new IncludeImpl(grammar,parent,sb);
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:GrammarBuilderImpl.java


示例6: makeInclude

import com.sun.xml.internal.rngom.ast.builder.Include; //导入依赖的package包/类
public Include makeInclude() {
    return new IncludeImpl(sb, this);
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:SchemaBuilderImpl.java


示例7: IncludeState

import com.sun.xml.internal.rngom.ast.builder.Include; //导入依赖的package包/类
IncludeState(Include include) {
    super(include);
    this.include = include;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:SchemaParser.java


示例8: IncludeHost

import com.sun.xml.internal.rngom.ast.builder.Include; //导入依赖的package包/类
IncludeHost(Include lhs, Include rhs) {
    super(lhs, rhs);
    this.lhs = lhs;
    this.rhs = rhs;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:6,代码来源:IncludeHost.java


示例9: makeInclude

import com.sun.xml.internal.rngom.ast.builder.Include; //导入依赖的package包/类
public Include makeInclude() {
    Include l = lhs.makeInclude();
    if(l==null) return null;
    return new IncludeHost( l, rhs.makeInclude() );
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:6,代码来源:GrammarSectionHost.java



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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