public class DxfConfigurableStructure extends java.lang.Object implements DxfStructure
Instead of having concrete properties that are parsed from groups, the only property this pulls from the groups provided is the structure type name. The groups themselves are simply stored.
Copyright 2006 Partner Software, Inc.
| Constructor and Description |
|---|
DxfConfigurableStructure() |
DxfConfigurableStructure(java.util.List<DxfGroup> groups) |
| Modifier and Type | Method and Description |
|---|---|
DxfGroup |
findGroup(int code) |
java.util.List<DxfGroup> |
getGroups(DxfVersion version)
Get the internal state as DXFGroups.
|
java.lang.String |
getType()
The type name of this structure.
|
void |
setGroups(java.util.List<DxfGroup> groups)
Set the internal state based on the given groups.
|
java.lang.String |
toString() |
public DxfConfigurableStructure()
public DxfConfigurableStructure(java.util.List<DxfGroup> groups)
public java.lang.String getType()
DxfStructure
\/**
* Type name of this structure. Always returns "POINT".
* \@return "POINT"
*\/
public String getType() {
return "POINT";
}
getType in interface DxfStructurepublic void setGroups(java.util.List<DxfGroup> groups)
DxfStructuresetGroups in interface DxfStructuregroups - list of groups containing data for this structurepublic java.util.List<DxfGroup> getGroups(DxfVersion version)
DxfStructuregetGroups in interface DxfStructurepublic java.lang.String toString()
toString in class java.lang.Objectpublic DxfGroup findGroup(int code)