xdoclet.sdk.xgg.binding
Class Binding

java.lang.Object
  |
  +--xdoclet.sdk.xgg.binding.Binding
Direct Known Subclasses:
Attribute, Element

public abstract class Binding
extends Object

Version:
$Revision: 1.3 $
Author:
Aslak Hellesøy, Laurent Etiemble

Constructor Summary
Binding(String xmlName, String version)
          Constructor for the Binding object
 
Method Summary
 String getJavaName()
          Gets the Java name of the binding
abstract  String getJavaType()
          Gets the Java type of the binding
 String getRegexp()
          Gets the regular expression pattern used for validation
 String getVersion()
          Gets the version
 String getXmlName()
          This will return the XML name of the binding.
 void setRegexp(String regexp)
          Sets the regular expression pattern used for validation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Binding

public Binding(String xmlName,
               String version)
Constructor for the Binding object

Parameters:
xmlName - Description of the Parameter
version - Description of the Parameter
Method Detail

getJavaName

public String getJavaName()
Gets the Java name of the binding

Returns:
The Java name

getJavaType

public abstract String getJavaType()
Gets the Java type of the binding

Returns:
The Java type

getRegexp

public String getRegexp()
Gets the regular expression pattern used for validation

Returns:
The regular expression pattern

getVersion

public String getVersion()
Gets the version

Returns:
The version

getXmlName

public String getXmlName()
This will return the XML name of the binding. This should be the actual XML name of the binding as would be seen in an XML document.

Returns:
the XML name of the binding.

setRegexp

public void setRegexp(String regexp)
Sets the regular expression pattern used for validation

Parameters:
regexp - The regular expression pattern


Copyright © 2000-2003 XDoclet Team. All Rights Reserved.