org.objectweb.jonas.webapp.jonasadmin.xml.xs
Class SchemaRestrictionsFactory

java.lang.Object
  extended by org.objectweb.jonas.webapp.jonasadmin.xml.xs.SchemaRestrictionsFactory

public class SchemaRestrictionsFactory
extends java.lang.Object

A factory to create a schema restriction implementation.

Author:
Gregory Lapouchnian, Patrick Smith

Constructor Summary
SchemaRestrictionsFactory()
           
 
Method Summary
 SchemaRestrictions getSchemaRestrictions(int type)
          Return a new implementation of a schema restriction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaRestrictionsFactory

public SchemaRestrictionsFactory()
Method Detail

getSchemaRestrictions

public SchemaRestrictions getSchemaRestrictions(int type)
Return a new implementation of a schema restriction.

Parameters:
type - the type of archive.
Returns:
an instance of an implementation of schema restriction.