本文整理汇总了Java中com.sun.xml.internal.rngom.ast.util.LocatorImpl类的典型用法代码示例。如果您正苦于以下问题:Java LocatorImpl类的具体用法?Java LocatorImpl怎么用?Java LocatorImpl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LocatorImpl类属于com.sun.xml.internal.rngom.ast.util包,在下文中一共展示了LocatorImpl类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: makeElementAnnotationBuilder
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public ElementAnnotationBuilder makeElementAnnotationBuilder(String ns, String localName, String prefix, LocatorImpl loc, CommentListImpl comments, Context context) {
String qname;
if(prefix==null)
qname = localName;
else
qname = prefix+':'+localName;
return new ElementAnnotationBuilderImpl(dom.createElementNS(ns,qname));
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:9,代码来源:DSchemaBuilderImpl.java
示例2: wrap
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
static DPattern wrap( DPattern p, LocatorImpl loc, Annotation anno ) {
p.location = loc;
if(anno!=null)
p.annotation = anno.getResult();
return p;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:7,代码来源:DSchemaBuilderImpl.java
示例3: addBody
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
static DUnaryPattern addBody( DUnaryPattern parent, ParsedPattern _body, LocatorImpl loc ) {
parent.setChild( (DPattern)_body );
return parent;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:DSchemaBuilderImpl.java
示例4: makeChoice
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeChoice(List<DPattern> patterns, LocatorImpl loc, Annotation anno) throws BuildException {
return wrap(addAll(new DChoicePattern(),patterns),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例5: makeInterleave
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeInterleave(List<DPattern> patterns, LocatorImpl loc, Annotation anno) throws BuildException {
return wrap(addAll(new DInterleavePattern(),patterns),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例6: makeGroup
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeGroup(List<DPattern> patterns, LocatorImpl loc, Annotation anno) throws BuildException {
return wrap(addAll(new DGroupPattern(),patterns),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例7: makeOneOrMore
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeOneOrMore(DPattern p, LocatorImpl loc, Annotation anno) throws BuildException {
return wrap(addBody(new DOneOrMorePattern(),p,loc),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例8: makeZeroOrMore
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeZeroOrMore(DPattern p, LocatorImpl loc, Annotation anno) throws BuildException {
return wrap(addBody(new DZeroOrMorePattern(),p,loc),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例9: makeOptional
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeOptional(DPattern p, LocatorImpl loc, Annotation anno) throws BuildException {
return wrap(addBody(new DOptionalPattern(),p,loc),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例10: makeList
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeList(DPattern p, LocatorImpl loc, Annotation anno) throws BuildException {
return wrap(addBody(new DListPattern(),p,loc),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例11: makeMixed
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeMixed(DPattern p, LocatorImpl loc, Annotation anno) throws BuildException {
return wrap(addBody(new DMixedPattern(),p,loc),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例12: makeEmpty
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeEmpty(LocatorImpl loc, Annotation anno) {
return wrap(new DEmptyPattern(),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例13: makeNotAllowed
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeNotAllowed(LocatorImpl loc, Annotation anno) {
return wrap(new DNotAllowedPattern(),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例14: makeText
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeText(LocatorImpl loc, Annotation anno) {
return wrap(new DTextPattern(),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例15: makeAttribute
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeAttribute(NameClass nc, DPattern p, LocatorImpl loc, Annotation anno) throws BuildException {
return wrap(addBody(new DAttributePattern(nc),p,loc),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例16: makeElement
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeElement(NameClass nc, DPattern p, LocatorImpl loc, Annotation anno) throws BuildException {
return wrap(addBody(new DElementPattern(nc),p,loc),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例17: makeDataPatternBuilder
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DataPatternBuilder makeDataPatternBuilder(String datatypeLibrary, String type, LocatorImpl loc) throws BuildException {
return new DataPatternBuilderImpl(datatypeLibrary,type,loc);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例18: makeValue
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeValue(String datatypeLibrary, String type, String value, Context c, String ns, LocatorImpl loc, Annotation anno) throws BuildException {
return wrap(new DValuePattern(datatypeLibrary,type,value,c.copy(),ns),loc,anno);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
示例19: makeExternalRef
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public DPattern makeExternalRef(Parseable current, String uri, String ns,
Scope<DPattern, ElementWrapper, LocatorImpl, Annotation, CommentListImpl> scope, LocatorImpl loc, Annotation anno) throws BuildException, IllegalSchemaException {
// TODO
return null;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:6,代码来源:DSchemaBuilderImpl.java
示例20: makeLocation
import com.sun.xml.internal.rngom.ast.util.LocatorImpl; //导入依赖的package包/类
public LocatorImpl makeLocation(String systemId, int lineNumber, int columnNumber) {
return new LocatorImpl(systemId,lineNumber,columnNumber);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:DSchemaBuilderImpl.java
注:本文中的com.sun.xml.internal.rngom.ast.util.LocatorImpl类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论