com.partnersoft.formats.dxf
Class DxfSection
java.lang.Object
com.partnersoft.formats.dxf.DxfSection
- All Implemented Interfaces:
- DxfStructure
public class DxfSection
- extends java.lang.Object
- implements DxfStructure
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DxfSection
public DxfSection()
DxfSection
public DxfSection(java.lang.String name)
getGroups
public java.util.List<DxfGroup> getGroups(DxfVersion version)
- Description copied from interface:
DxfStructure
- Get the internal state as DXFGroups.
- Specified by:
getGroups in interface DxfStructure
- Returns:
- list of groups containing the state data for this structure
getType
public java.lang.String getType()
- Description copied from interface:
DxfStructure
- The type name of this structure. Generally this will be the same for all
instances of the same implementing Java class, so a typical example might
be:
\/**
* Type name of this structure. Always returns "POINT".
* \@return "POINT"
*\/
public String getType() {
return "POINT";
}
- Specified by:
getType in interface DxfStructure
- Returns:
- type name of structure as defined in AutoCAD DXF specification
setGroups
public void setGroups(java.util.List<DxfGroup> groups)
- Description copied from interface:
DxfStructure
- Set the internal state based on the given groups.
- Specified by:
setGroups in interface DxfStructure
- Parameters:
groups - list of groups containing data for this structure
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object