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.


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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.