|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.newdawn.slick.svg.inkscape.UseProcessor
public class UseProcessor
Processor for the "use", a tag that allows references to other elements and cloning.
Constructor Summary | |
---|---|
UseProcessor()
|
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 transform)
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 |
Constructor Detail |
---|
public UseProcessor()
Method Detail |
---|
public boolean handles(org.w3c.dom.Element element)
ElementProcessor
handles
in interface ElementProcessor
element
- The element to check
ElementProcessor.handles(org.w3c.dom.Element)
public void process(Loader loader, org.w3c.dom.Element element, Diagram diagram, Transform transform) throws ParsingException
ElementProcessor
process
in interface ElementProcessor
loader
- The loader/context of the parsingelement
- The element to be processeddiagram
- The diagram to be builttransform
- The transform to apply to all elements at this level
ParsingException
- Indicates an invalid content to an elementElementProcessor.process(org.newdawn.slick.svg.Loader, org.w3c.dom.Element, org.newdawn.slick.svg.Diagram, org.newdawn.slick.geom.Transform)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |