wt.ixb.publicforhandlers.imp
Class IgnorableElementsHolder

java.lang.Object
  extended bywt.ixb.publicforhandlers.imp.IgnorableElementsHolder

public class IgnorableElementsHolder
extends Object


Field Summary
private static Object mapLock
           
private static Map mapOfMaps
           
 
Constructor Summary
IgnorableElementsHolder()
           
 
Method Summary
static boolean canIgnoreConflict(Object obj, IxbElement elem, Importer imp)
           
static boolean canIgnoreConflict(Object obj, IxbElement elem, WTContainerRef containerRef)
           
private static Class generateClassKey(IxbElement elem)
           
private static Map initTable(File f)
           
static void main(String[] args)
           
private  void printTableContents()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapOfMaps

private static Map mapOfMaps

mapLock

private static final Object mapLock
Constructor Detail

IgnorableElementsHolder

public IgnorableElementsHolder()
Method Detail

canIgnoreConflict

public static boolean canIgnoreConflict(Object obj,
                                        IxbElement elem,
                                        Importer imp)
                                 throws WTException
Throws:
WTException

canIgnoreConflict

public static boolean canIgnoreConflict(Object obj,
                                        IxbElement elem,
                                        WTContainerRef containerRef)
                                 throws WTException
Parameters:
obj - currently is not used
elem - attribute (element) considered for being ignored
containerRef - current container context
Returns:
true if attribute is found in the table for ignore, false otherwise.
Throws:
WTException

initTable

private static Map initTable(File f)
                      throws WTException
Throws:
WTException

generateClassKey

private static Class generateClassKey(IxbElement elem)
                               throws WTException
Throws:
WTException

printTableContents

private void printTableContents()
                         throws WTException
Throws:
WTException

main

public static void main(String[] args)
                 throws WTException
Throws:
WTException