Package com.jsevy.jdxf
Class DXFContainer
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.Vector<DXFObject>
-
- com.jsevy.jdxf.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
-
-
-
-
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 interfaceDXFObject
-
-