|
||||||||||
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.svg.SVGParser
Field Summary | |
protected Diagram |
_diagram
Deprecated. |
protected java.util.HashMap |
_figRegistry
Deprecated. |
protected int |
_nestedGroups
Deprecated. |
protected java.util.Map |
_ownerRegistry
Deprecated. |
static SVGParser |
SINGLETON
Deprecated. |
Constructor Summary | |
SVGParser()
Deprecated. |
Method Summary | |
void |
characters(char[] ch,
int start,
int length)
Deprecated. |
protected java.awt.Color |
colorByName(java.lang.String name,
java.awt.Color defaultColor)
Deprecated. |
void |
endElement(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. |
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 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 void |
handleSVG(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 java.awt.Color |
parseColor(java.lang.String name,
java.awt.Color defaultColor)
Deprecated. |
protected java.lang.String |
parseStyle(java.lang.String field,
java.lang.String style)
Deprecated. This method parses the 'style' attribute for a particular field |
Diagram |
readDiagram(java.net.URL url)
Deprecated. |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
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 |
setOwnerRegistry(java.util.Map owners)
Deprecated. |
void |
startElement(java.lang.String elementName,
org.xml.sax.Attributes attrList)
Deprecated. |
protected java.lang.String |
translateClassName(java.lang.String oldName)
Deprecated. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static SVGParser SINGLETON
protected Diagram _diagram
protected int _nestedGroups
protected java.util.HashMap _figRegistry
protected java.util.Map _ownerRegistry
Constructor Detail |
public SVGParser()
Method Detail |
public void characters(char[] ch, int start, int length)
protected java.awt.Color colorByName(java.lang.String name, java.awt.Color defaultColor)
public void endElement(java.lang.String elementName)
protected org.tigris.gef.presentation.Fig findFig(java.lang.String uri)
protected java.lang.Object findOwner(java.lang.String uri)
protected java.lang.String[] getEntityPaths()
protected GraphModel getGraphModelFor(java.lang.String desc)
protected org.tigris.gef.presentation.FigCircle handleEllipse(org.xml.sax.Attributes attrList)
protected org.tigris.gef.presentation.Fig handleGroup(org.xml.sax.Attributes attrList)
protected org.tigris.gef.presentation.FigLine handleLine(org.xml.sax.Attributes attrList)
protected org.tigris.gef.presentation.FigPoly handlePath(org.xml.sax.Attributes attrList)
protected org.tigris.gef.presentation.Fig handlePolyLine(org.xml.sax.Attributes attrList)
protected org.tigris.gef.presentation.FigRect handleRect(org.xml.sax.Attributes attrList)
protected void handleSVG(org.xml.sax.Attributes attrList)
protected org.tigris.gef.presentation.FigText handleText(org.xml.sax.Attributes attrList)
protected void initDiagram(java.lang.String diagDescr)
protected void lineStateStartElement(java.lang.String tagName, org.xml.sax.Attributes attrList)
protected java.awt.Color parseColor(java.lang.String name, java.awt.Color defaultColor)
protected java.lang.String parseStyle(java.lang.String field, java.lang.String style)
field
- java.lang.Stringstyle
- java.lang.String
public Diagram readDiagram(java.net.URL url)
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
protected void setAttrs(org.tigris.gef.presentation.Fig f, org.xml.sax.Attributes attrList)
protected void setOwnerAttr(org.tigris.gef.presentation.Fig f, org.xml.sax.Attributes attrList)
public void setOwnerRegistry(java.util.Map owners)
public void startElement(java.lang.String elementName, org.xml.sax.Attributes attrList)
protected java.lang.String translateClassName(java.lang.String oldName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |