Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.apache.xerces.impl.dtd.models;
 
 
 public class CMLeaf extends CMNode
 {
   private QName fElement = new QName();
   private int fPosition = -1;
 
  public CMLeaf(QName paramQNameint paramInt)
  {
    super(0);
    this..setValues(paramQName);
    this. = paramInt;
  }
  public CMLeaf(QName paramQName)
  {
    super(0);
    this..setValues(paramQName);
  }
  final QName getElement()
  {
    return this.;
  }
  final int getPosition()
  {
    return this.;
  }
  final void setPosition(int paramInt)
  {
    this. = paramInt;
  }
  public boolean isNullable()
  {
    return this. == -1;
  }
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer(this..toString());
    localStringBuffer.append(" (");
    localStringBuffer.append(this..);
    localStringBuffer.append(',');
    localStringBuffer.append(this..);
    localStringBuffer.append(')');
    if (this. >= 0)
      localStringBuffer.append(" (Pos:").append(Integer.toString(this.)).append(')');
    return localStringBuffer.toString();
  }
  protected void calcFirstPos(CMStateSet paramCMStateSet)
  {
    if (this. == -1)
      paramCMStateSet.zeroBits();
    else
      paramCMStateSet.setBit(this.);
  }
  protected void calcLastPos(CMStateSet paramCMStateSet)
  {
    if (this. == -1)
      paramCMStateSet.zeroBits();
    else
      paramCMStateSet.setBit(this.);
  }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     org.apache.xerces.impl.dtd.models.CMLeaf
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X