org.autopipes
Interface ConfigurationMgr

All Superinterfaces:
JAXBWrapper
All Known Implementing Classes:
ConfigurationMgrImp

public interface ConfigurationMgr
extends JAXBWrapper

Wraps access to xml documents conforming to acadcfg.xsd. The documents may be produced by an AutoCAD macro.


Nested Class Summary
static interface ConfigurationMgr.Layer
          Wraps access to layer-related information.
 
Method Summary
 double getAngularDelta()
          Gets tolerance for angular measurements selected for the drawing.
 java.lang.String getDrawingName()
          Gets name of the drawing containing this configuration.
 ConfigurationMgr.Layer getLayer(java.lang.String name)
          Gets layer-depended confiuration selected for the drawing.
 double getLinearDelta()
          Gets tolerance for linear measurements selected for the drawing.
 java.lang.String getVendor()
          Gets the fitting vendor name used by the drawing.
 
Methods inherited from interface org.autopipes.JAXBWrapper
isLoaded, load, load, unload
 

Method Detail

getDrawingName

java.lang.String getDrawingName()
                                throws java.lang.IllegalAccessException
Gets name of the drawing containing this configuration.

Returns:
the drawing name
Throws:
java.lang.IllegalAccessException - if no contents

getVendor

java.lang.String getVendor()
                           throws java.lang.IllegalAccessException
Gets the fitting vendor name used by the drawing.

Returns:
the vendor name
Throws:
java.lang.IllegalAccessException - if no contents

getAngularDelta

double getAngularDelta()
                       throws java.lang.IllegalAccessException
Gets tolerance for angular measurements selected for the drawing.

Returns:
the tolerance
Throws:
java.lang.IllegalAccessException - if no contents

getLinearDelta

double getLinearDelta()
                      throws java.lang.IllegalAccessException
Gets tolerance for linear measurements selected for the drawing.

Returns:
the tolerance
Throws:
java.lang.IllegalAccessException - if no contents

getLayer

ConfigurationMgr.Layer getLayer(java.lang.String name)
                                throws java.lang.IllegalAccessException
Gets layer-depended confiuration selected for the drawing.

Parameters:
name - layer name
Returns:
the configuration record
Throws:
java.lang.IllegalAccessException - if no contents