org.jboss.verifier
Class Section

java.lang.Object
  extended by org.jboss.verifier.Section

public class Section
extends Object

Represents a section in the EJB spec.

Since:
JDK 1.3
Version:
$Revision: 57209 $
Author:
Juha Lindfors

Constructor Summary
Section(String id)
          Default Constructor
Section(String id, String info)
          Constructor that takes an additional String parameter which gives a hint about the actual error that occured.
 
Method Summary
 String getInfo()
           
 String getSection()
          Returns the section string
 String getSectionToken(int index)
          Returns the section number by index
 Iterator getSectionTokens()
           
 boolean hasInfo()
           
 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(String id)
Default Constructor


Section

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

Method Detail

getSectionToken

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


getSectionTokens

public Iterator getSectionTokens()

getSection

public String getSection()
Returns the section string


toString

public String toString()
String representation of this object

Overrides:
toString in class Object

hasInfo

public boolean hasInfo()

getInfo

public String getInfo()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.