Class ReadBindingSet
- java.lang.Object
-
- de.businesscode.bcdui.binding.generators.ReadBindingSet
-
- All Implemented Interfaces:
java.lang.Runnable
public class ReadBindingSet extends java.lang.Object implements java.lang.Runnable
Parses a binding xml and creates an in-memory BindingSet
-
-
Field Summary
Fields Modifier and Type Field Description protected org.w3c.dom.Document
bindingDoc
protected java.util.Map<java.lang.String,java.util.Collection<StandardBindingSet>>
bindingMap
protected java.lang.String
fileName
protected org.apache.logging.log4j.Logger
log
protected StandardNamespaceContext
nsContext
protected static java.lang.String
STARTUP_CHECK_TABLE_ALIAS
-
Constructor Summary
Constructors Constructor Description ReadBindingSet(org.w3c.dom.Document bindingDoc, java.lang.String fileName, java.util.Map<java.lang.String,java.util.Collection<StandardBindingSet>> bindingMap)
Parses a binding xml and creates an in-memory BindingSet
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BindingItem
createBindingItem(org.w3c.dom.Element bindingItemElem, StandardBindingSet pBindingSet)
protected void
parseBindingDocument(org.w3c.dom.Document bindingDoc, java.lang.String fileName, java.util.Map<java.lang.String,java.util.Collection<StandardBindingSet>> bindingMap)
parses Binding DOM Document and puts BindigSet into Binding Mapvoid
run()
-
-
-
Field Detail
-
log
protected final org.apache.logging.log4j.Logger log
-
bindingDoc
protected org.w3c.dom.Document bindingDoc
-
fileName
protected java.lang.String fileName
-
bindingMap
protected java.util.Map<java.lang.String,java.util.Collection<StandardBindingSet>> bindingMap
-
nsContext
protected StandardNamespaceContext nsContext
-
STARTUP_CHECK_TABLE_ALIAS
protected static final java.lang.String STARTUP_CHECK_TABLE_ALIAS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReadBindingSet
public ReadBindingSet(org.w3c.dom.Document bindingDoc, java.lang.String fileName, java.util.Map<java.lang.String,java.util.Collection<StandardBindingSet>> bindingMap)
Parses a binding xml and creates an in-memory BindingSet- Parameters:
bindingDoc
-fileName
-bindingMap
-
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
parseBindingDocument
protected void parseBindingDocument(org.w3c.dom.Document bindingDoc, java.lang.String fileName, java.util.Map<java.lang.String,java.util.Collection<StandardBindingSet>> bindingMap) throws javax.xml.xpath.XPathExpressionException, java.io.IOException, BindingException, java.lang.IllegalArgumentException, java.lang.SecurityException, java.lang.IllegalAccessException, java.lang.NoSuchFieldException, java.lang.ClassNotFoundException, org.w3c.dom.DOMException
parses Binding DOM Document and puts BindigSet into Binding Map- Parameters:
bindingDoc
-fileName
-- Throws:
javax.xml.xpath.XPathExpressionException
java.io.IOException
BindingException
java.lang.NoSuchFieldException
java.lang.IllegalAccessException
java.lang.SecurityException
java.lang.IllegalArgumentException
org.w3c.dom.DOMException
java.lang.ClassNotFoundException
-
createBindingItem
protected BindingItem createBindingItem(org.w3c.dom.Element bindingItemElem, StandardBindingSet pBindingSet) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.SecurityException, java.lang.IllegalAccessException, java.lang.NoSuchFieldException
- Parameters:
bindingItemElem
-- Returns:
- new BindingItem
- Throws:
java.io.IOException
java.lang.NoSuchFieldException
java.lang.IllegalAccessException
java.lang.SecurityException
java.lang.IllegalArgumentException
-
-