org.jcae.viewer3d.fe.amibe
Class AmibeProvider
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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()