xdoclet.sdk.xgg
Class Referer

java.lang.Object
  |
  +--xdoclet.sdk.xgg.Referer

public final class Referer
extends Object

This class is a data object for Velocity used during generation of beans that represent XML elements.

Version:
$Revision: 1.3 $
Author:
Aslak Hellesøy

Constructor Summary
Referer()
           
 
Method Summary
 void addSubElement(SubElement element)
          Adds a sub element to this referer
 String getJavaName()
          Gets the Java name of the referer
 List getSubElements()
          Returns the list of all sub elements of this referer
 boolean isMany()
          Returns whether or not this referer has a many cardinality.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Referer

public Referer()
Method Detail

addSubElement

public void addSubElement(SubElement element)
Adds a sub element to this referer

Parameters:
element - The sub element to add

getJavaName

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

Returns:
The Java name

getSubElements

public List getSubElements()
Returns the list of all sub elements of this referer

Returns:
The list of sub elements

isMany

public boolean isMany()
Returns whether or not this referer has a many cardinality. If one of the sub element has a many cardinality, then this referer has a many cardinality.

Returns:
True if it has a many cardinality


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