|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DxfApplicationDefinedStructure
Application-defined data structure embedded inside another DxfStructure.
These were added in later specifications of the DXF format to allow association of reactors, XDICTIONARIES, and other such things with entities and other "normal" structures.
They don't behave like regular DXFStructures in some ways. For one thing, they are bounded by DXFGroups with 102 codes rather than by DXFGroups with zero codes. Otherwise, however, they have similarities, and still store their entire state as DXFGroups within those bounds.
Rather than reify all different types as classes (which is impossible to do
fully since the whole point of an application-defined structure is that
third-party apps can define their own), you can use the
DxfConfigurableApplicationDefinedStructure implementation to
represent structures that are unknown or that don't require reification.
Copyright 2007 Partner Software, Inc.
| Method Summary | |
|---|---|
java.lang.String |
getApplicationName()
The application name of this structure. |
java.util.List<DxfGroup> |
getGroups()
Get the internal state as DXFGroups. |
void |
setGroups(java.util.List<DxfGroup> groups)
Set the internal state based on the given groups. |
| Method Detail |
|---|
java.lang.String getApplicationName()
\/**
* Application name of this structure. Always returns "ACAD_REACTORS".
* \@return "ACAD_REACTORS"
*\/
public String getApplicationName() {
return "ACAD_REACTORS";
}
Run-time discovered application structures may simply store the application name for reporting, however.
void setGroups(java.util.List<DxfGroup> groups)
groups - list of groups containing data for this structure
java.lang.IllegalArgumentException - if the starting and ending groups aren't of code 102java.util.List<DxfGroup> getGroups()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||