forked from geodmms/xdgnjobs

?? ?
2008-06-25 1939acb5eeca2792e93a0e236ed2f4a60b4d4008
xdgnjobs/ximple-dgnio/src/main/java/com/ximple/io/dgn7/TextElement.java
@@ -312,6 +312,19 @@
        return new Coordinate(dstPt[0], dstPt[1]);
    }
    public Object clone() throws CloneNotSupportedException
    {
        int pos = this.rawBuffer.position();
        this.rawBuffer.position(0);
        byte[] rawBytes = this.rawBuffer.array();
        byte[] otherRaw = new byte[rawBytes.length];
        System.arraycopy(rawBytes, 0, otherRaw, 0, rawBytes.length);
        this.rawBuffer.position(pos);
        TextElement other = new TextElement(otherRaw);
        return other;
    }
    public static class ElementHandler extends Element.ElementHandler
    {
        private static ElementHandler instance = null;