|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.xbl2.BindingHandler
| Constructor Summary | |
BindingHandler(XSmilesDocumentImpl doc)
Default constructor |
|
| Method Summary | |
void |
addBinding(BindingElementImpl be,
XSmilesElementImpl xe)
Add a binding between BindingElementImpl be and XSmilesElementImpl xe. |
void |
addBindingDocumentPI(XMLDocument doc)
Adds an XML document to the PI binding documents. |
BindingElementImpl |
addBindingDynamically(java.lang.String bindingURI,
XSmilesElementImpl elem)
This method adds binding dynamically to an element. |
void |
addExtendingBindings(BindingElementImpl binding,
java.util.ArrayList chain,
XSmilesElementImpl element)
This method bounds the given binding and the bindings it extends from (explicit inheritance chain) to the given element in the right order (the base binding of the explicit inheritance chain is bound first). |
void |
applyBindings()
Apply bindings for all XSmilesElementImpls in the order they were added. |
void |
applyBindings(XSmilesElementImpl xe)
Apply bindings for specified XSmilesElementImpl in the order they were added. |
protected void |
applyBindings(XSmilesElementImpl xe,
java.util.Vector v)
Apply XSmilesElementImpl binding for all BindingElementImpls in Vector in the order they were added. |
java.util.ArrayList |
getAllBindings()
Returns all the binding elements in a list loaded in this document. |
java.util.Vector |
getBindingDocumentsPI()
Returns all the external binding documents loaded with the processing instruction. |
java.util.Vector |
getBindings(BindingElementImpl be)
Get all bindings for BindingElementImpl be as a Vector of XSmilesElementImpls. |
java.util.Vector |
getBindings(XSmilesElementImpl xe)
Get all bindings for XSmilesElementImpl xe as a Vector BindingHandlerImpls. |
void |
removeBinding(BindingElementImpl be,
XSmilesElementImpl xe)
|
void |
start()
Starts the bindinghandler. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BindingHandler(XSmilesDocumentImpl doc)
| Method Detail |
public java.util.ArrayList getAllBindings()
public java.util.Vector getBindingDocumentsPI()
public void addBindingDocumentPI(XMLDocument doc)
doc - XML document to be addedgetBindingDocumentsPI()public void start()
public BindingElementImpl addBindingDynamically(java.lang.String bindingURI,
XSmilesElementImpl elem)
bindingURI - The binding URI (absolute or relative) that is going to
be bound to the element.elem - The element that the binding is going to be bound to.
public void addExtendingBindings(BindingElementImpl binding,
java.util.ArrayList chain,
XSmilesElementImpl element)
binding - The binding element that will be bound to the elementchain - The chain (ArrayList) of bindings that are already in the
explicit inheritance chain of the binding. Set to null when
first calling this method.element - The element to which the binding will been bound toaddBinding(BindingElementImpl, XSmilesElementImpl)
public void addBinding(BindingElementImpl be,
XSmilesElementImpl xe)
be - xe - public java.util.Vector getBindings(XSmilesElementImpl xe)
xe -
public java.util.Vector getBindings(BindingElementImpl be)
be -
public void applyBindings()
public void applyBindings(XSmilesElementImpl xe)
xe -
protected void applyBindings(XSmilesElementImpl xe,
java.util.Vector v)
v -
public void removeBinding(BindingElementImpl be,
XSmilesElementImpl xe)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||