Class LabelReferences
- java.lang.Object
-
- org.apache.ofbiz.webtools.labelmanager.LabelReferences
-
public class LabelReferences extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Delegator
delegator
protected DispatchContext
dispatchContext
protected java.util.Map<java.lang.String,LabelInfo>
labels
protected java.util.Set<java.lang.String>
labelSet
static java.lang.String
module
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>>
references
protected java.util.Set<java.lang.String>
rootFolders
-
Constructor Summary
Constructors Constructor Description LabelReferences(Delegator delegator, LabelManagerFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
findLabelKeyInElement(java.lang.String inFile, java.lang.String filePath, java.lang.String elementName)
protected void
findUiLabelMapInFile(java.lang.String inFile, java.lang.String filePath)
protected void
findUiLabelMapInMessage(java.lang.String inFile, java.lang.String filePath)
protected void
findUiLabelMapInPattern(java.lang.String inFile, java.lang.String pattern, java.lang.String filePath)
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>>
getLabelReferences()
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
references
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> references
-
delegator
protected Delegator delegator
-
dispatchContext
protected DispatchContext dispatchContext
-
labels
protected java.util.Map<java.lang.String,LabelInfo> labels
-
labelSet
protected java.util.Set<java.lang.String> labelSet
-
rootFolders
protected java.util.Set<java.lang.String> rootFolders
-
-
Constructor Detail
-
LabelReferences
public LabelReferences(Delegator delegator, LabelManagerFactory factory)
-
-
Method Detail
-
getLabelReferences
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> getLabelReferences() throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, GenericServiceException
- Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
GenericServiceException
-
findUiLabelMapInMessage
protected void findUiLabelMapInMessage(java.lang.String inFile, java.lang.String filePath)
-
findUiLabelMapInPattern
protected void findUiLabelMapInPattern(java.lang.String inFile, java.lang.String pattern, java.lang.String filePath)
-
findUiLabelMapInFile
protected void findUiLabelMapInFile(java.lang.String inFile, java.lang.String filePath)
-
findLabelKeyInElement
protected void findLabelKeyInElement(java.lang.String inFile, java.lang.String filePath, java.lang.String elementName)
-
-