|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Floor
Exposes service interface for drawing manipulation.
Nested Class Summary | |
---|---|
static interface |
Floor.Area
Represents a connected component of a drawing. |
static interface |
Floor.Command
Parent interface of all messages sent by a client. |
Method Summary | |
---|---|
void |
buildGraph()
Builds a graph representation of a drawing. |
void |
exportLabels(java.io.Writer wri)
Stream version of addBranchLabels. |
ConfigurationMgr |
getConfiguration()
Gets current drawing configuration. |
DrawingMgr |
getDrawing()
Gets current drawing. |
java.util.Map |
getGraphs()
Gets a map of connected components of a graph built from a drawing. |
void |
processComand(Floor.Command cmd,
org.w3c.dom.Node out)
Top level message dispatcher. |
void |
processDrawing(org.xml.sax.InputSource cfgIs,
org.xml.sax.InputSource dwgIs)
Entry point for all drawing processing. |
void |
setConfiguration(ConfigurationMgr conf)
Sets current drawing configuration. |
void |
setDrawing(DrawingMgr dwg)
Sets current drawing. |
Method Detail |
---|
void exportLabels(java.io.Writer wri) throws java.lang.IllegalAccessException, javax.xml.bind.JAXBException
wri
- the stream
java.lang.IllegalAccessException
javax.xml.bind.JAXBException
ConfigurationMgr getConfiguration()
void setConfiguration(ConfigurationMgr conf)
conf
- the configurationDrawingMgr getDrawing()
void setDrawing(DrawingMgr dwg)
dwg
- the drawingjava.util.Map getGraphs()
void processDrawing(org.xml.sax.InputSource cfgIs, org.xml.sax.InputSource dwgIs) throws javax.xml.bind.JAXBException, java.lang.IllegalAccessException, java.lang.CloneNotSupportedException
cfgIs
- configuration sourcedwgIs
- drawing source
java.lang.Exception
javax.xml.bind.JAXBException
java.lang.IllegalAccessException
java.lang.CloneNotSupportedException
void buildGraph() throws java.lang.IllegalAccessException, java.lang.CloneNotSupportedException
java.lang.IllegalAccessException
java.lang.CloneNotSupportedException
void processComand(Floor.Command cmd, org.w3c.dom.Node out) throws java.lang.IllegalAccessException, javax.xml.bind.JAXBException
cmd
- the messageout
- the node to which the reply is attached
java.lang.IllegalAccessException
javax.xml.bind.JAXBException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |