|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.db.BasicPrivateLabelLoader org.opengts.war.tools.PrivateLabelLoader
public class PrivateLabelLoader
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.opengts.db.BasicPrivateLabelLoader |
---|
BasicPrivateLabelLoader.OutputHandler |
Field Summary | |
---|---|
static java.lang.String |
PROP_PrivateLabelLoader_skipTag_MapProvider
|
static java.lang.String |
PROP_PrivateLabelLoader_skipTag_WebPages
|
Constructor Summary | |
---|---|
PrivateLabelLoader()
|
Method Summary | |
---|---|
protected void |
_addPrivateLabel(java.io.File xmlFile,
BasicPrivateLabel privLabel,
boolean ignoreDuplicates)
Adds a BasicPrivateLabel to the managed private label list |
protected int |
_resetLoadDefaultXML()
Loads/Reloads the 'private.xml' file |
protected BasicPrivateLabel |
createPrivateLabel(java.io.File xmlFile,
java.lang.String hostName)
Creates a new BasicPrivalLabel instance. |
static boolean |
GetSkipTag_MapProvider()
|
static boolean |
GetSkipTag_WebPages()
|
static void |
main(java.lang.String[] argv)
|
protected java.lang.String |
parseLegendHTML(java.lang.String refName,
java.util.Locale locale,
OrderedMap pushpins,
java.lang.String legendType,
org.w3c.dom.Element legendElem)
Parse HTML Legend |
protected void |
parseTag_JSPEntries(java.io.File xmlFile,
java.lang.String i18nPkgName,
BasicPrivateLabel bpl,
org.w3c.dom.Element jspFiles)
Parse 'JSPFiles' tag. |
protected void |
parseTag_MapProvider(java.io.File xmlFile,
java.lang.String i18nPkgName,
BasicPrivateLabel bpl,
org.w3c.dom.Element mapProvElem,
OrderedMap<java.lang.String,java.lang.Object> dftPushpinMap,
OrderedMap<java.lang.String,java.lang.String> dftLegend)
Parse 'MapProvider' tag. |
protected void |
parseTag_MapShapes(java.io.File xmlFile,
java.lang.String i18nPkgName,
BasicPrivateLabel bpl,
org.w3c.dom.Element mapShps)
Parse 'MapShapes' tag. |
protected void |
parseTag_PointsOfInterest(java.io.File xmlFile,
java.lang.String i18nPkgName,
BasicPrivateLabel bpl,
org.w3c.dom.Element pois)
Parse 'PointsOfInterest' tag. |
protected OrderedMap<java.lang.String,java.lang.Object> |
parseTAG_Pushpins(java.io.File xmlFile,
BasicPrivateLabel pl,
org.w3c.dom.Element attrElem,
OrderedMap<java.lang.String,java.lang.Object> dftPushpinMap,
boolean isGlobalPushpins)
Parse 'PushPins' tag. |
protected void |
parseTag_Reports(java.io.File xmlFile,
java.lang.String i18nPkgName,
BasicPrivateLabel bpl,
org.w3c.dom.Element reports)
Parse 'Reports' tag. |
protected void |
parseTag_WebPages(java.io.File xmlFile,
java.lang.String i18nPkgName,
BasicPrivateLabel bpl,
org.w3c.dom.Element webPages)
Parse 'WebPages' tag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROP_PrivateLabelLoader_skipTag_WebPages
public static final java.lang.String PROP_PrivateLabelLoader_skipTag_MapProvider
Constructor Detail |
---|
public PrivateLabelLoader()
Method Detail |
---|
public static boolean GetSkipTag_WebPages()
public static boolean GetSkipTag_MapProvider()
protected BasicPrivateLabel createPrivateLabel(java.io.File xmlFile, java.lang.String hostName)
BasicPrivateLabelLoader
createPrivateLabel
in class BasicPrivateLabelLoader
hostName
- The host name assigned to the BasicPrivateLabel instance
protected int _resetLoadDefaultXML()
BasicPrivateLabelLoader
_resetLoadDefaultXML
in class BasicPrivateLabelLoader
protected void parseTag_MapProvider(java.io.File xmlFile, java.lang.String i18nPkgName, BasicPrivateLabel bpl, org.w3c.dom.Element mapProvElem, OrderedMap<java.lang.String,java.lang.Object> dftPushpinMap, OrderedMap<java.lang.String,java.lang.String> dftLegend)
BasicPrivateLabelLoader
parseTag_MapProvider
in class BasicPrivateLabelLoader
i18nPkgName
- The i18n resource package name for localized textbpl
- The BasicPrivateLabel instance for the current 'Domain'mapProvElem
- The 'MapProvider' nodeprotected java.lang.String parseLegendHTML(java.lang.String refName, java.util.Locale locale, OrderedMap pushpins, java.lang.String legendType, org.w3c.dom.Element legendElem)
parseLegendHTML
in class BasicPrivateLabelLoader
protected OrderedMap<java.lang.String,java.lang.Object> parseTAG_Pushpins(java.io.File xmlFile, BasicPrivateLabel pl, org.w3c.dom.Element attrElem, OrderedMap<java.lang.String,java.lang.Object> dftPushpinMap, boolean isGlobalPushpins)
parseTAG_Pushpins
in class BasicPrivateLabelLoader
xmlFile
- The current XML file being parsedpl
- The BasicPrivateLabel instance for the current 'Domain'attrElem
- The 'MapProvider' nodedftPushpinMap
- The default pushpin map
protected void parseTag_JSPEntries(java.io.File xmlFile, java.lang.String i18nPkgName, BasicPrivateLabel bpl, org.w3c.dom.Element jspFiles)
BasicPrivateLabelLoader
parseTag_JSPEntries
in class BasicPrivateLabelLoader
i18nPkgName
- The i18n resource package name for localized textbpl
- The BasicPrivateLabel instance for the current 'Domain'jspFiles
- The 'JSPFiles' nodeprotected void parseTag_WebPages(java.io.File xmlFile, java.lang.String i18nPkgName, BasicPrivateLabel bpl, org.w3c.dom.Element webPages)
BasicPrivateLabelLoader
parseTag_WebPages
in class BasicPrivateLabelLoader
i18nPkgName
- The i18n resource package name for localized textbpl
- The BasicPrivateLabel instance for the current 'Domain'webPages
- The 'WebPages' nodeprotected void parseTag_Reports(java.io.File xmlFile, java.lang.String i18nPkgName, BasicPrivateLabel bpl, org.w3c.dom.Element reports)
BasicPrivateLabelLoader
parseTag_Reports
in class BasicPrivateLabelLoader
xmlFile
- The current xml file being parsed.i18nPkgName
- The i18n resource package name for localized textbpl
- The BasicPrivateLabel instance for the current 'Domain'reports
- The 'Reports' nodeprotected void parseTag_PointsOfInterest(java.io.File xmlFile, java.lang.String i18nPkgName, BasicPrivateLabel bpl, org.w3c.dom.Element pois)
BasicPrivateLabelLoader
parseTag_PointsOfInterest
in class BasicPrivateLabelLoader
xmlFile
- The current xml file being parsed.i18nPkgName
- The i18n resource package name for localized textbpl
- The BasicPrivateLabel instance for the current 'Domain'pois
- The 'PointsOfInterest' nodeprotected void parseTag_MapShapes(java.io.File xmlFile, java.lang.String i18nPkgName, BasicPrivateLabel bpl, org.w3c.dom.Element mapShps)
BasicPrivateLabelLoader
parseTag_MapShapes
in class BasicPrivateLabelLoader
xmlFile
- The current xml file being parsed.i18nPkgName
- The i18n resource package name for localized textbpl
- The BasicPrivateLabel instance for the current 'Domain'mapShps
- The 'MapShapes' nodeprotected void _addPrivateLabel(java.io.File xmlFile, BasicPrivateLabel privLabel, boolean ignoreDuplicates)
BasicPrivateLabelLoader
_addPrivateLabel
in class BasicPrivateLabelLoader
privLabel
- The BasicPrivateLabel to addpublic static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |