org.newdawn.slick.svg.inkscape
Class LineProcessor
java.lang.Object
org.newdawn.slick.svg.inkscape.LineProcessor
- All Implemented Interfaces:
- ElementProcessor
public class LineProcessor
- extends java.lang.Object
- implements ElementProcessor
A processor for the element
- Author:
- kevin
Method Summary |
boolean |
handles(org.w3c.dom.Element element)
Check if this processor handles the element specified |
void |
process(Loader loader,
org.w3c.dom.Element element,
Diagram diagram,
Transform t)
Process a document extracting all the elements that the processor is
interested in and producing appropriate diagram components for the
element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineProcessor
public LineProcessor()
process
public void process(Loader loader,
org.w3c.dom.Element element,
Diagram diagram,
Transform t)
throws ParsingException
- Description copied from interface:
ElementProcessor
- Process a document extracting all the elements that the processor is
interested in and producing appropriate diagram components for the
element.
- Specified by:
process
in interface ElementProcessor
- Parameters:
loader
- The loader/context of the parsingelement
- The element to be processeddiagram
- The diagram to be builtt
- The transform to apply to all elements at this level
- Throws:
ParsingException
- Indicates an invalid content to an element- See Also:
ElementProcessor.process(org.newdawn.slick.svg.Loader, org.w3c.dom.Element, org.newdawn.slick.svg.Diagram, org.newdawn.slick.geom.Transform)
handles
public boolean handles(org.w3c.dom.Element element)
- Description copied from interface:
ElementProcessor
- Check if this processor handles the element specified
- Specified by:
handles
in interface ElementProcessor
- Parameters:
element
- The element to check
- Returns:
- True if this processor can handle the given element
- See Also:
ElementProcessor.handles(org.w3c.dom.Element)
Copyright © 2006 New Dawn Software. All Rights Reserved.