org.ow2.bonita.pvm.internal.util
Class TagBinding

java.lang.Object
  extended by org.ow2.bonita.pvm.internal.util.TagBinding
All Implemented Interfaces:
Binding
Direct Known Subclasses:
WireBinding

public abstract class TagBinding
extends java.lang.Object
implements Binding

Author:
Tom Baeyens

Field Summary
protected  java.lang.String category
           
protected  java.lang.String namespaceUri
           
protected  java.lang.String tagName
           
 
Constructor Summary
TagBinding(java.lang.String tagName, java.lang.String namespaceUri, java.lang.String category)
           
 
Method Summary
 java.lang.String getCategory()
           
 boolean matches(org.w3c.dom.Element element)
          does this binding apply to the given element?
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.bonita.pvm.internal.xml.Binding
parse
 

Field Detail

category

protected java.lang.String category

tagName

protected java.lang.String tagName

namespaceUri

protected java.lang.String namespaceUri
Constructor Detail

TagBinding

public TagBinding(java.lang.String tagName,
                  java.lang.String namespaceUri,
                  java.lang.String category)
Parameters:
tagName - is required and represents the local part of the tag name.
namespaceUri - is optional (null is allowed) and represents the full namespace URI of the element
category - is optional (null is allowed) and represents the category of the binding.
See Also:
Bindings
Method Detail

matches

public boolean matches(org.w3c.dom.Element element)
Description copied from interface: Binding
does this binding apply to the given element?

Specified by:
matches in interface Binding

getCategory

public java.lang.String getCategory()
Specified by:
getCategory in interface Binding

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009 OW2 Consortium. All Rights Reserved.