|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.orchestra.pvm.internal.xml.Bindings
public class Bindings
a set of Bindings divided into categories managed by a Parser
.
See also 'Bindinds'
Parser| Field Summary | |
|---|---|
protected Map<String,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(Element element)
get a binding for the given element and category. |
protected Binding |
getBinding(Element element,
List<Binding> categoryBindings)
|
Binding |
getBinding(Element element,
String category)
get a binding for the given element and category. |
Map<String,List<Binding>> |
getBindings()
|
Set<String> |
getTagNames(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 Map<String,List<Binding>> bindings
| Constructor Detail |
|---|
public Bindings()
public Bindings(Bindings other)
Parser.
| Method Detail |
|---|
public Binding getBinding(Element element)
public Binding getBinding(Element element,
String category)
protected Binding getBinding(Element element,
List<Binding> categoryBindings)
public void addBinding(Binding binding)
public Set<String> getTagNames(String category)
public Map<String,List<Binding>> getBindings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||