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

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

public abstract class TagBinding
extends Object
implements Binding

Author:
Tom Baeyens

Field Summary
protected  String category
           
protected  String namespaceUri
           
protected  String tagName
           
 
Constructor Summary
TagBinding(String tagName, String namespaceUri, String category)
           
 
Method Summary
 String getCategory()
           
 boolean matches(Element element)
          does this binding apply to the given element?
 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.orchestra.pvm.internal.xml.Binding
parse
 

Field Detail

category

protected String category

tagName

protected String tagName

namespaceUri

protected String namespaceUri
Constructor Detail

TagBinding

public TagBinding(String tagName,
                  String namespaceUri,
                  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(Element element)
Description copied from interface: Binding
does this binding apply to the given element?

Specified by:
matches in interface Binding

getCategory

public String getCategory()
Specified by:
getCategory in interface Binding

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 OW2 Consortium. All Rights Reserved.