ca.quine.jcommons.transform.transforms
Class StructuredXMLTransform
java.lang.Object
|
+--ca.quine.jcommons.transform.transforms.StructuredXMLTransform
- All Implemented Interfaces:
- IXMLSegmentListener
- Direct Known Subclasses:
- StructuredXMLTransformTestHelper
- public class StructuredXMLTransform
- extends Object
- implements IXMLSegmentListener
FIXME: Documents that are invalid according to the provided structure map
will cause a NullPointerException.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
position
protected Position position
states
protected Map states
StructuredXMLTransform
public StructuredXMLTransform(File mappingFile)
throws JDOMException,
IOException
transform
public void transform(org.jdom.contrib.input.LineNumberElement xmlSegment)
throws Exception
- Specified by:
transform
in interface IXMLSegmentListener
Exception
addTransformListener
public void addTransformListener(IJDOMDocumentListener receiver)
complete
public void complete()
throws Exception
- Specified by:
complete
in interface IXMLSegmentListener
Exception