org.jboss.verifier
Class Section

java.lang.Object
  extended byorg.jboss.verifier.Section

public class Section
extends java.lang.Object

Represents a section in the EJB spec.

Since:
JDK 1.3

Constructor Summary
Section(java.lang.String id)
          Default Constructor
Section(java.lang.String id, java.lang.String info)
          Constructor that takes an additional String parameter which gives a hint about the actual error that occured.
 
Method Summary
 java.lang.String getInfo()
           
 java.lang.String getSection()
          Returns the section string
 java.lang.String getSectionToken(int index)
          Returns the section number by index
 java.util.Iterator getSectionTokens()
           
 boolean hasInfo()
           
 java.lang.String toString()
          String representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Section

public Section(java.lang.String id)
Default Constructor


Section

public Section(java.lang.String id,
               java.lang.String info)
Constructor that takes an additional String parameter which gives a hint about the actual error that occured.

Method Detail

getSectionToken

public java.lang.String getSectionToken(int index)
Returns the section number by index


getSectionTokens

public java.util.Iterator getSectionTokens()

getSection

public java.lang.String getSection()
Returns the section string


toString

public java.lang.String toString()
String representation of this object


hasInfo

public boolean hasInfo()

getInfo

public java.lang.String getInfo()