|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.bonita.pvm.internal.xml.Bindings
public class Bindings
a set of Binding
s divided into categories managed by a Parser
.
See also 'Bindinds'
Parser
Field Summary | |
---|---|
protected java.util.Map<java.lang.String,java.util.List<Binding>> |
bindings
maps categories to a list of bindings |
Constructor Summary | |
---|---|
Bindings()
|
|
Bindings(Bindings other)
to be used when you want to customize the binding behaviour of a Parser . |
Method Summary | |
---|---|
void |
addBinding(Binding binding)
add an elementParser to this parser that will handle parsing of elements of the given tagName for the default category. |
Binding |
getBinding(org.w3c.dom.Element element)
get a binding for the given element and category. |
protected Binding |
getBinding(org.w3c.dom.Element element,
java.util.List<Binding> categoryBindings)
|
Binding |
getBinding(org.w3c.dom.Element element,
java.lang.String category)
get a binding for the given element and category. |
java.util.Set<java.lang.String> |
getTagNames(java.lang.String category)
the set of all tagNames for which there is a binding specified in the given category |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map<java.lang.String,java.util.List<Binding>> bindings
Constructor Detail |
---|
public Bindings()
public Bindings(Bindings other)
Parser
.
Method Detail |
---|
public Binding getBinding(org.w3c.dom.Element element)
public Binding getBinding(org.w3c.dom.Element element, java.lang.String category)
protected Binding getBinding(org.w3c.dom.Element element, java.util.List<Binding> categoryBindings)
public void addBinding(Binding binding)
public java.util.Set<java.lang.String> getTagNames(java.lang.String category)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |