civquest.parser.ruleset
Class Ruleset

java.lang.Object
  extended bycivquest.parser.ruleset.Ruleset

public class Ruleset
extends java.lang.Object

A Ruleset object normally maps to one *.ruleset file, from which it builds its data collection by way of a Parser object invoked by a Registry instance. Basically.


Constructor Summary
Ruleset(java.lang.String name, java.net.URL url)
           
 
Method Summary
 void addSection(Section section)
           
 java.util.Vector getAllSections()
           
 Section getSection(java.lang.String name)
           
 java.util.Enumeration getSectionNames()
           
 java.net.URL getURL()
           
 boolean hasSection(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ruleset

public Ruleset(java.lang.String name,
               java.net.URL url)
Method Detail

getURL

public java.net.URL getURL()

hasSection

public boolean hasSection(java.lang.String name)

addSection

public void addSection(Section section)

getSection

public Section getSection(java.lang.String name)

getSectionNames

public java.util.Enumeration getSectionNames()

getAllSections

public java.util.Vector getAllSections()