Package de.ailis.jollada.model

Examples of de.ailis.jollada.model.VisualSceneLibrary


     */

    @Test
    public void testAsset()
    {
        final VisualSceneLibrary lib = new VisualSceneLibrary();
        assertNull(lib.getAsset());
        lib.setAsset(new Asset());
        assertNotNull(lib.getAsset());
        lib.setAsset(null);
        assertNull(lib.getAsset());
    }
View Full Code Here


     */

    @Test
    public void testId()
    {
        final VisualSceneLibrary lib = new VisualSceneLibrary();
        assertNull(lib.getId());
        lib.setId("foo");
        assertEquals("foo", lib.getId());
        lib.setId(null);
        assertNull(lib.getId());
    }
View Full Code Here

     */

    @Test
    public void testName()
    {
        final VisualSceneLibrary lib = new VisualSceneLibrary();
        assertNull(lib.getName());
        lib.setName("foo");
        assertEquals("foo", lib.getName());
        lib.setName(null);
        assertNull(lib.getName());
    }
View Full Code Here

     *            The element attributes
     */

    private void enterLibraryVisualScenes(final Attributes attributes)
    {
        this.visualSceneLibrary = new VisualSceneLibrary();
        this.visualSceneLibrary.setName(attributes.getValue("name"));
        this.visualSceneLibrary.setId(attributes.getValue("id"));
        enterElement(ParserMode.LIBRARY_VISUAL_SCENES);
    }
View Full Code Here

TOP

Related Classes of de.ailis.jollada.model.VisualSceneLibrary

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.