|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.tigris.gef.xml.pgml.PGMLParser
Field Summary | |
protected org.tigris.gef.presentation.FigEdge |
_currentEdge
Deprecated. |
protected org.tigris.gef.presentation.Fig |
_currentEncloser
Deprecated. |
protected org.tigris.gef.presentation.FigLine |
_currentLine
Deprecated. |
protected org.tigris.gef.presentation.FigNode |
_currentNode
Deprecated. |
protected org.tigris.gef.presentation.FigPoly |
_currentPoly
Deprecated. |
protected Diagram |
_diagram
Deprecated. |
protected int |
_elementState
Deprecated. |
protected java.util.HashMap |
_figRegistry
Deprecated. |
protected int |
_nestedGroups
Deprecated. |
protected java.util.Map |
_ownerRegistry
Deprecated. Model elements indexed by a UUID. |
protected java.lang.StringBuffer |
_textBuf
Deprecated. |
protected int |
_x1Int
Deprecated. |
protected int |
_y1Int
Deprecated. |
protected static int |
ANNOTATION_EDGE_STATE
Deprecated. |
protected static int |
ANNOTATION_STATE
Deprecated. |
protected static int |
DEFAULT_EDGE_STATE
Deprecated. |
protected static int |
DEFAULT_NODE_STATE
Deprecated. |
protected static int |
DEFAULT_STATE
Deprecated. |
protected static int |
EDGE_STATE
Deprecated. |
protected static int |
LINE_STATE
Deprecated. |
protected static int |
NODE_STATE
Deprecated. |
protected static int |
POLY_EDGE_STATE
Deprecated. |
protected static int |
POLY_NODE_STATE
Deprecated. |
protected static int |
POLY_STATE
Deprecated. |
protected static int |
PRIVATE_EDGE_STATE
Deprecated. |
protected static int |
PRIVATE_NODE_STATE
Deprecated. |
protected static int |
PRIVATE_STATE
Deprecated. |
protected java.lang.String |
systemId
Deprecated. |
protected static int |
TEXT_ANNOTATION_STATE
Deprecated. |
protected static int |
TEXT_EDGE_STATE
Deprecated. |
protected static int |
TEXT_NODE_STATE
Deprecated. |
protected static int |
TEXT_STATE
Deprecated. |
Constructor Summary | |
PGMLParser(java.util.Map modelElementsByUuid)
Deprecated. |
Method Summary | |
void |
annotationStateStartElement(java.lang.String tagName,
org.xml.sax.Attributes attrList)
Deprecated. |
void |
characters(char[] ch,
int start,
int length)
Deprecated. |
protected void |
edgeStateStartElement(java.lang.String tagName,
org.xml.sax.Attributes attrList)
Deprecated. |
void |
endElement(java.lang.String uri,
java.lang.String localname,
java.lang.String elementName)
Deprecated. |
protected org.tigris.gef.presentation.Fig |
findFig(java.lang.String uri)
Deprecated. |
protected java.lang.Object |
findOwner(java.lang.String uri)
Deprecated. |
protected java.lang.String[] |
getEntityPaths()
Deprecated. |
protected GraphModel |
getGraphModelFor(java.lang.String desc)
Deprecated. |
java.lang.String |
getSystemId()
Deprecated. |
protected org.tigris.gef.presentation.FigCircle |
handleEllipse(org.xml.sax.Attributes attrList)
Deprecated. |
protected org.tigris.gef.presentation.Fig |
handleGroup(org.xml.sax.Attributes attrList)
Deprecated. |
protected org.tigris.gef.presentation.FigLine |
handleLine(org.xml.sax.Attributes attrList)
Deprecated. |
protected org.tigris.gef.presentation.FigPoly |
handlePath(org.xml.sax.Attributes attrList)
Deprecated. |
protected void |
handlePGML(org.xml.sax.Attributes attrList)
Deprecated. |
protected org.tigris.gef.presentation.Fig |
handlePolyLine(org.xml.sax.Attributes attrList)
Deprecated. |
protected org.tigris.gef.presentation.FigRect |
handleRect(org.xml.sax.Attributes attrList)
Deprecated. |
protected org.tigris.gef.presentation.FigText |
handleText(org.xml.sax.Attributes attrList)
Deprecated. |
protected void |
initDiagram(java.lang.String diagDescr)
Deprecated. |
protected void |
lineStateStartElement(java.lang.String tagName,
org.xml.sax.Attributes attrList)
Deprecated. |
protected void |
nodeStateStartElement(java.lang.String tagName,
org.xml.sax.Attributes attrList)
Deprecated. |
protected void |
polyStateStartElement(java.lang.String tagName,
org.xml.sax.Attributes attrList)
Deprecated. |
protected void |
privateStateEndElement(java.lang.String tagName)
Deprecated. |
Diagram |
readDiagram(java.io.InputStream is)
Deprecated. |
Diagram |
readDiagram(java.io.InputStream is,
boolean closeStream)
Deprecated. |
Diagram |
readDiagram(java.net.URL url)
Deprecated. |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Deprecated. |
protected void |
rollbackAdd(org.tigris.gef.presentation.Fig currentFig)
Deprecated. |
protected void |
setAttrs(org.tigris.gef.presentation.Fig f,
org.xml.sax.Attributes attrList)
Deprecated. |
protected void |
setOwnerAttr(org.tigris.gef.presentation.Fig f,
org.xml.sax.Attributes attrList)
Deprecated. |
void |
setSystemId(java.lang.String id)
Deprecated. |
void |
startElement(java.lang.String uri,
java.lang.String localname,
java.lang.String elementName,
org.xml.sax.Attributes atts)
Deprecated. |
protected java.lang.String |
translateClassName(java.lang.String oldName)
Deprecated. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Diagram _diagram
protected int _nestedGroups
protected java.util.HashMap _figRegistry
protected java.util.Map _ownerRegistry
protected java.lang.String systemId
protected int _elementState
protected static final int DEFAULT_STATE
protected static final int TEXT_STATE
protected static final int LINE_STATE
protected static final int POLY_STATE
protected static final int NODE_STATE
protected static final int EDGE_STATE
protected static final int PRIVATE_STATE
protected static final int ANNOTATION_STATE
protected static final int PRIVATE_NODE_STATE
protected static final int PRIVATE_EDGE_STATE
protected static final int ANNOTATION_EDGE_STATE
protected static final int TEXT_NODE_STATE
protected static final int TEXT_EDGE_STATE
protected static final int TEXT_ANNOTATION_STATE
protected static final int POLY_EDGE_STATE
protected static final int POLY_NODE_STATE
protected static final int DEFAULT_NODE_STATE
protected static final int DEFAULT_EDGE_STATE
protected org.tigris.gef.presentation.FigLine _currentLine
protected int _x1Int
protected int _y1Int
protected java.lang.StringBuffer _textBuf
protected org.tigris.gef.presentation.FigPoly _currentPoly
protected org.tigris.gef.presentation.FigNode _currentNode
protected org.tigris.gef.presentation.Fig _currentEncloser
protected org.tigris.gef.presentation.FigEdge _currentEdge
Constructor Detail |
public PGMLParser(java.util.Map modelElementsByUuid)
Method Detail |
public Diagram readDiagram(java.net.URL url) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public Diagram readDiagram(java.io.InputStream is) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public Diagram readDiagram(java.io.InputStream is, boolean closeStream) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void initDiagram(java.lang.String diagDescr) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void startElement(java.lang.String uri, java.lang.String localname, java.lang.String elementName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void endElement(java.lang.String uri, java.lang.String localname, java.lang.String elementName) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void characters(char[] ch, int start, int length)
protected void handlePGML(org.xml.sax.Attributes attrList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.tigris.gef.presentation.Fig handlePolyLine(org.xml.sax.Attributes attrList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.tigris.gef.presentation.FigLine handleLine(org.xml.sax.Attributes attrList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void lineStateStartElement(java.lang.String tagName, org.xml.sax.Attributes attrList)
protected org.tigris.gef.presentation.FigCircle handleEllipse(org.xml.sax.Attributes attrList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.tigris.gef.presentation.FigRect handleRect(org.xml.sax.Attributes attrList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.tigris.gef.presentation.FigText handleText(org.xml.sax.Attributes attrList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.tigris.gef.presentation.FigPoly handlePath(org.xml.sax.Attributes attrList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void polyStateStartElement(java.lang.String tagName, org.xml.sax.Attributes attrList)
protected org.tigris.gef.presentation.Fig handleGroup(org.xml.sax.Attributes attrList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void privateStateEndElement(java.lang.String tagName) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void nodeStateStartElement(java.lang.String tagName, org.xml.sax.Attributes attrList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void edgeStateStartElement(java.lang.String tagName, org.xml.sax.Attributes attrList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void annotationStateStartElement(java.lang.String tagName, org.xml.sax.Attributes attrList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void setAttrs(org.tigris.gef.presentation.Fig f, org.xml.sax.Attributes attrList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void setOwnerAttr(org.tigris.gef.presentation.Fig f, org.xml.sax.Attributes attrList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected java.lang.Object findOwner(java.lang.String uri)
protected org.tigris.gef.presentation.Fig findFig(java.lang.String uri)
protected GraphModel getGraphModelFor(java.lang.String desc)
protected java.lang.String translateClassName(java.lang.String oldName)
protected java.lang.String[] getEntityPaths()
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
public void setSystemId(java.lang.String id)
public java.lang.String getSystemId()
protected void rollbackAdd(org.tigris.gef.presentation.Fig currentFig)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |