Class DXFContainer

  • All Implemented Interfaces:
    DXFObject, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<DXFObject>, java.util.Collection<DXFObject>, java.util.List<DXFObject>, java.util.RandomAccess
    Direct Known Subclasses:
    DXFSection

    public abstract class DXFContainer
    extends java.util.Vector<DXFObject>
    implements DXFObject
    A base class for containers of objects in a DXF document, including sections and tables.
    Author:
    jsevy
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DXFContainer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toDXFString()
      Implementation of DXFObject interface method; just calls the toDXFString method of each of the DXFObjects it contains.
      • Methods inherited from class java.util.Vector

        add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
    • Constructor Detail

      • DXFContainer

        public DXFContainer()
    • Method Detail

      • toDXFString

        public java.lang.String toDXFString()
        Implementation of DXFObject interface method; just calls the toDXFString method of each of the DXFObjects it contains. Subclasses of this class will generally insert their own text before and after calling this superclass method to encapsulate the strings from the contained DXFObjects.
        Specified by:
        toDXFString in interface DXFObject