zeus.concepts.xmlobject.acc
Class ContactsParser

java.lang.Object
  extended byzeus.concepts.xmlobject.Parser
      extended byzeus.concepts.xmlobject.acc.ContactsParser

public class ContactsParser
extends Parser

Parser for contacts info files.


Field Summary
 
Fields inherited from class zeus.concepts.xmlobject.Parser
inputStream, root
 
Constructor Summary
ContactsParser()
          Default constructor.
ContactsParser(java.io.File file)
          Construct instance, initialise input source to specified file.
ContactsParser(java.lang.String document)
          Construct instance, initialise input source to specified document.
 
Method Summary
 Contact getContact()
          Retrieve the root object and cast it to a Contact instance.
 Contacts getContacts()
          Retrieve the root object and cast it to a Contacts instance.
protected  java.lang.Object translateRoot(org.w3c.dom.Document document)
          Begin translation.
 
Methods inherited from class zeus.concepts.xmlobject.Parser
getInputStream, getRootObject, load, refresh, setFeature, setInputStream, setRootObject, setupParser, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactsParser

public ContactsParser()
Default constructor.


ContactsParser

public ContactsParser(java.io.File file)
               throws java.io.FileNotFoundException
Construct instance, initialise input source to specified file.


ContactsParser

public ContactsParser(java.lang.String document)
Construct instance, initialise input source to specified document.

Method Detail

translateRoot

protected java.lang.Object translateRoot(org.w3c.dom.Document document)
Begin translation. Creates a Contact or Contacts object and delegates to it.

Specified by:
translateRoot in class Parser

getContacts

public Contacts getContacts()
Retrieve the root object and cast it to a Contacts instance.


getContact

public Contact getContact()
Retrieve the root object and cast it to a Contact instance.



Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.