org.norther.tammi.root.db
Interface RepositoryParser

All Known Implementing Classes:
AbstractRepositoryParser

public interface RepositoryParser

An interface to class descriptor parsers of the repository.

Version:
$Id: RepositoryParser.java,v 1.5 2010-04-27 10:22:01 cvsimp Exp $
Author:
Ilkka Priha

Method Summary
 void merge(Persister persister)
          Merges changed elements.
 void merge(Variable element, Persister persister)
          Merges the specified element.
 void parse(Persister persister)
          Parses all elements.
 

Method Detail

parse

void parse(Persister persister)
           throws AttributeNotFoundException,
                  InvalidAttributeValueException,
                  ConfigurationException,
                  PersistenceException
Parses all elements.

Parameters:
persister - the persister.
Throws:
AttributeNotFoundException - for missing attributes.
InvalidAttributeValueException - for invalid values.
ConfigurationException - for invalid elements.
PersistenceException - for persistence errors.

merge

void merge(Persister persister)
           throws AttributeNotFoundException,
                  InvalidAttributeValueException,
                  ConfigurationException,
                  PersistenceException
Merges changed elements.

Parameters:
persister - the persister.
Throws:
AttributeNotFoundException - for missing attributes.
InvalidAttributeValueException - for invalid values.
ConfigurationException - for invalid elements.
PersistenceException - for persistence errors.

merge

void merge(Variable element,
           Persister persister)
           throws AttributeNotFoundException,
                  InvalidAttributeValueException,
                  ConfigurationException,
                  PersistenceException
Merges the specified element.

Parameters:
element - the element.
persister - the persister.
Throws:
AttributeNotFoundException - for missing attributes.
InvalidAttributeValueException - for invalid values.
ConfigurationException - for invalid elements.
PersistenceException - for persistence errors.


Copyright © 2004 The Norther Organization. All rights reserved.