- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.onosproject.yang.compiler.datamodel.YangType.getCharPosition()
方法的一些代码示例,展示了YangType.getCharPosition()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YangType.getCharPosition()
方法的具体详情如下:
包路径:org.onosproject.yang.compiler.datamodel.YangType
类名称:YangType
方法名:getCharPosition
暂无
代码示例来源:origin: org.onosproject/onos-yang-compiler-datamodel
rangeInterval.setFileName(getFileName());
rangeInterval.setLineNumber(getLineNumber());
rangeInterval.setCharPosition(getCharPosition());
BigInteger startValue = ((YangUint64) rangeInterval.getStartValue()).getValue();
BigInteger endValue = ((YangUint64) rangeInterval.getEndValue()).getValue();
代码示例来源:origin: org.onosproject/onos-yang-compiler-datamodel
/**
* Returns resolvable entity when the type is derived. It sets needed
* information to entity such as line number,position number and holder.
* Returns null when identity is for inter grouping.
*
* @param type derived YANG type
* @param holder holder node
* @param isLeaf leaf or leaf-list
* @return entity to resolve for derived type
*/
private static YangEntityToResolveInfoImpl getDerivedResolvableEntity(
YangType<?> type, YangNode holder, boolean isLeaf) {
YangEntityToResolveInfoImpl<YangType<?>> derivedInfo =
new YangEntityToResolveInfoImpl<>();
if (type.isTypeForInterFileGroupingResolution()) {
return null;
}
if (!isLeaf && type.isTypeNotResolvedTillRootNode()) {
return null;
}
derivedInfo.setEntityToResolve(type);
return setInformationInEntity(
derivedInfo, holder, type.getCharPosition(),
type.getLineNumber());
}
代码示例来源:origin: org.onosproject/onos-yang-compiler-datamodel
@Override
public Object resolve()
throws DataModelException {
/*
* Check whether the data type is derived.
*/
if (getDataType() != DERIVED) {
throw new DataModelException("Linker Error: Resolve should only be called for derived data types. "
+ " in " +
getLineNumber() + " at " +
getCharPosition()
+ " in " + getFileName() + "\"");
}
// Check if the derived info is present.
YangDerivedInfo<?> derivedInfo = (YangDerivedInfo<?>) getDataTypeExtendedInfo();
if (derivedInfo == null) {
throw new DataModelException("Linker Error: Derived information is missing. " + " in " +
getLineNumber() + " at " +
getCharPosition()
+ " in " + getFileName() + "\"");
}
// Initiate the resolution
try {
setResolvableStatus(derivedInfo.resolve());
} catch (DataModelException e) {
throw new DataModelException(e.getMessage());
}
return null;
}
代码示例来源:origin: org.onosproject/onos-yang-compiler-datamodel
dataType.getDataTypeName() + " in " +
dataType.getLineNumber() + " at " +
dataType.getCharPosition() +
" in " + dataType.getFileName() + "\"");
代码示例来源:origin: org.onosproject/onos-yang-compiler-datamodel
leaf.getDataType().getDataTypeName() + " in " +
leaf.getDataType().getLineNumber() + " at " +
leaf.getDataType().getCharPosition() +
" in " + leaf.getDataType().getFileName() + "\"");
leafList.getDataType().getDataTypeName() + " in " +
leafList.getDataType().getLineNumber() + " at " +
leafList.getDataType().getCharPosition() +
" in " + leafList.getDataType().getFileName() + "\"");
代码示例来源:origin: org.onosproject/onos-yang-compiler-linker
type.getLineNumber(), type.getCharPosition());
try {
addResolutionInfo(resolutionInfo);
type.getLineNumber(), type.getCharPosition());
try {
addResolutionInfo(resolutionInfo);
代码示例来源:origin: org.onosproject/onos-yang-compiler-linker
type.getCharPosition());
try {
addResolutionInfo(resolutionInfo);
本文整理了Java中org.onosproject.yang.compiler.datamodel.YangLeafRef.getCharPosition()方法的一些代码示例,展示了YangLeaf
本文整理了Java中org.onosproject.yang.compiler.datamodel.YangType.getCharPosition()方法的一些代码示例,展示了YangType.ge
本文整理了Java中org.onosproject.yang.compiler.datamodel.YangDeviation.getCharPosition()方法的一些代码示例,展示了YangDe
我是一名优秀的程序员,十分优秀!