com.sun.tools.xjc.reader.dtd.bindinfo
Class BIContent

java.lang.Object
  extended by com.sun.tools.xjc.reader.dtd.bindinfo.BIContent

public class BIContent
extends java.lang.Object

Particles in the <content> declaration in the binding file.


Field Summary
protected  org.w3c.dom.Element element
          The particle element which this object is wrapping.
protected  BIElement parent
          The parent object.
 
Method Summary
 java.lang.String getPropertyName()
          Gets the property name of this particle.
 FieldRenderer getRealization()
          Gets the realization of this particle, if any.
 com.sun.codemodel.JClass getType()
          Gets the type of this property, if any.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

element

protected final org.w3c.dom.Element element
The particle element which this object is wrapping.


parent

protected final BIElement parent
The parent object.

Method Detail

getRealization

public final FieldRenderer getRealization()
Gets the realization of this particle, if any.

Returns:
null if the "collection" attribute was not specified.

getPropertyName

public final java.lang.String getPropertyName()
Gets the property name of this particle.

Returns:
always a non-null, valid string.

getType

public final com.sun.codemodel.JClass getType()
Gets the type of this property, if any.

<element-ref> particle doesn't have the type.

Returns:
null if none is specified.