org.jbpm.pvm.internal.util
Class TagBinding

java.lang.Object
  extended by org.jbpm.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()
           
 java.lang.String getNamespaceUri()
           
 java.lang.String getTagName()
           
 boolean matches(org.w3c.dom.Element element)
          does this binding apply to the given element?
 void setCategory(java.lang.String category)
           
 void setNamespaceUri(java.lang.String namespaceUri)
           
 void setTagName(java.lang.String tagName)
           
 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.jbpm.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

toString

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

getCategory

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

getTagName

public java.lang.String getTagName()

getNamespaceUri

public java.lang.String getNamespaceUri()

setCategory

public void setCategory(java.lang.String category)

setTagName

public void setTagName(java.lang.String tagName)

setNamespaceUri

public void setNamespaceUri(java.lang.String namespaceUri)


Copyright © 2010 JBoss Community. All Rights Reserved.