T - type of resolution entity uses / typepublic class YangResolutionInfoImpl<T> extends Object implements YangResolutionInfo<T>, Serializable
| Constructor and Description |
|---|
YangResolutionInfoImpl(T dataNode,
YangNode holderNode,
int lineNumber,
int charPositionInLine)
Creates a resolution information object with all the inputs.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCharPosition() |
YangEntityToResolveInfoImpl<T> |
getEntityToResolveInfo() |
int |
getLineNumber() |
void |
linkInterFile(YangReferenceResolver dataModelRootNode) |
void |
resolveLinkingForResolutionInfo(YangReferenceResolver dataModelRootNode) |
void |
setAbsolutePathFromRelativePathInLeafref(T resolutionInfo)
Sets the leafref with absolute path from the relative path.
|
void |
setCharPosition(int charPositionInLine) |
void |
setLineNumber(int lineNumber) |
public YangResolutionInfoImpl(T dataNode, YangNode holderNode, int lineNumber, int charPositionInLine)
dataNode - current parsable data nodeholderNode - parent YANG nodelineNumber - error line numbercharPositionInLine - error character position in linepublic void resolveLinkingForResolutionInfo(YangReferenceResolver dataModelRootNode) throws DataModelException
resolveLinkingForResolutionInfo in interface YangResolutionInfo<T>DataModelExceptionpublic YangEntityToResolveInfoImpl<T> getEntityToResolveInfo()
getEntityToResolveInfo in interface YangResolutionInfo<T>public int getLineNumber()
getLineNumber in interface LocationInfopublic int getCharPosition()
getCharPosition in interface LocationInfopublic void setLineNumber(int lineNumber)
setLineNumber in interface LocationInfopublic void setCharPosition(int charPositionInLine)
setCharPosition in interface LocationInfopublic void linkInterFile(YangReferenceResolver dataModelRootNode) throws DataModelException
linkInterFile in interface YangResolutionInfo<T>DataModelExceptionpublic void setAbsolutePathFromRelativePathInLeafref(T resolutionInfo) throws DataModelException
resolutionInfo - information about the YANG construct which has to be resolvedDataModelException - a violation of data model rulesCopyright © 2016. All rights reserved.