public class ResourceBundleFileNode extends FileNode implements IResourceBundleFileNode
IContainerNode.ContainerType
scope
EMPTY_CONTAINER
emptyNodeArray, parent
UNKNOWN
Constructor and Description |
---|
ResourceBundleFileNode(IWorkspace workspace,
String pathName,
String locale)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getBundleName()
Returns the bundle name of the associated .properties file which is the
name of the file without file extension.
|
String |
getLocale()
Returns the locale of this file node if the associated file is locale
dependent.
|
ASTNodeID |
getNodeID()
Get the opcode of this node
|
addDeferredFunctionNode, addEmbedNode, addImportNode, addProblem, addRequiredResourceBundle, analyze, collectImportNodes, getEmbedNodes, getFileSpecificaitonGetter, getFileSpecification, getImportNodes, getIncludeHandler, getIncludeTreeLastModified, getOffsetLookup, getProblems, getRequiredResourceBundles, getTargetAttributes, getTemporaryEnclosingScope, getTopLevelDefinitionNodes, getTopLevelDefinitions, getWorkspace, hasIncludes, initializeScope, parseRequiredFunctionBodies, populateFunctionNodes, processAST, reconnectDefinitions, setOffsetLookup, setParent, setProblems
getAllImportNodes, getAllImports, getASScope, getScope, optimizeChildren, runPostProcess, runPostProcess, setScope
replaceChild
addItem, addItemAfterNormalization, addTemporaryItem, buildInnerString, contains, getContainerType, getRemovedConditionalCompileNode, removeItem, removeTemporaryItem, setContainerType, setRemovedConditionalCompileNode
addChild, addChild, addChildInOrder, addChildPostNormalize, addTemporaryChild, getChild, getChildCount, getInitialChildCount, normalize, removeAllChildren, removeChild, removeTemporaryChild, sortChildren, swapChildren
buildStringRecursive, canContinueContainmentSearch, combineAttributes, connectedToProjectScope, endAfter, endAfter, endBefore, endBefore, fillInOffsets, getAbsoluteEnd, getAbsoluteStart, getAncestorOfType, getContainingFilePath, getContainingNode, getContainingScope, getEnd, getFileScope, getInnerString, getNodeKind, getPackageName, getParent, getScopeNode, getSpanningStart, getStart, getSucceedingNode, isTerminal, isTransparent, looselyContains, setChildren, span, span, span, startAfter, startAfter, startBefore, startBefore, toString, tryGetOffsetLookup, verify
getColumn, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, span
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIncludeTreeLastModified, getOffsetLookup, getProblems, getTargetAttributes, getTopLevelDefinitionNodes, getTopLevelDefinitions, hasIncludes, populateFunctionNodes
getAllImportNodes, getAllImports, getScope
contains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
public ResourceBundleFileNode(IWorkspace workspace, String pathName, String locale)
public ASTNodeID getNodeID()
IASNode
public String getBundleName()
IResourceBundleFileNode
getBundleName
in interface IResourceBundleFileNode
public String getLocale()
IResourceBundleFileNode
getLocale
in interface IResourceBundleFileNode
null
if the
associated file is not a locale dependent file which means that the file
applies to all the locales.Copyright © 2016 The Apache Software Foundation. All rights reserved.