Package net.sf.latexdraw.parsers.svg

Examples of net.sf.latexdraw.parsers.svg.SVGCDATASection


      doc1.createCDATASection(null);
      fail();
    }
    catch(DOMException e) { /* ok */ }

    SVGCDATASection elt = (SVGCDATASection)doc1.createCDATASection("test"); //$NON-NLS-1$
    assertEquals(elt.getData(), "test"); //$NON-NLS-1$
    assertEquals(doc1, elt.getOwnerDocument());
  }
View Full Code Here


public class TestSVGCDATASection extends TestSVGText {
  @Override
  @Test
  public void testGetNodeType() {
    SVGCDATASection cdata = createSVGText("test", doc); //$NON-NLS-1$
    assertEquals(Node.CDATA_SECTION_NODE, cdata.getNodeType());
  }
View Full Code Here

  }


  @Override
  protected SVGCDATASection createSVGText(String txt, SVGDocument document) throws IllegalArgumentException {
    return new SVGCDATASection(txt, document);
  }
View Full Code Here

TOP

Related Classes of net.sf.latexdraw.parsers.svg.SVGCDATASection

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.