org.jcae.viewer3d.fe.amibe
Class AmibeProvider

java.lang.Object
  extended by org.jcae.viewer3d.fe.amibe.AmibeProvider
All Implemented Interfaces:
DomainProvider, FEProvider

public class AmibeProvider
extends java.lang.Object
implements FEProvider

A FEProvider which get data from the XML/binaries file of the amibe mesher


Constructor Summary
AmibeProvider(java.io.File directory)
           
 
Method Summary
 java.io.File getDirectory()
           
 org.w3c.dom.Document getDocument()
           
 Domain getDomain(int id)
           
 int[] getDomainIDs()
           
static org.w3c.dom.Document parseXML(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmibeProvider

public AmibeProvider(java.io.File directory)
              throws javax.xml.parsers.ParserConfigurationException,
                     org.xml.sax.SAXException,
                     java.io.IOException
Parameters:
directory - The directory containing the jcae3d file
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
Method Detail

parseXML

public static org.w3c.dom.Document parseXML(java.io.File file)
                                     throws javax.xml.parsers.ParserConfigurationException,
                                            org.xml.sax.SAXException,
                                            java.io.IOException
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException

getDomainIDs

public int[] getDomainIDs()
Specified by:
getDomainIDs in interface DomainProvider

getDomain

public Domain getDomain(int id)
Specified by:
getDomain in interface DomainProvider

getDocument

public org.w3c.dom.Document getDocument()

getDirectory

public java.io.File getDirectory()