java.lang.Object
org.chiba.xml.xforms.PreProcessor
- public class PreProcessor
- extends java.lang.Object
Note: currently without use - may be re-activated later
The PreProceesor handles all pre-initialization tasks as such:
[1] validating the XForm Container to ensure structural and syntactical
correctness of the input-form (not yet implemented)
[2] check for correctness of references in form. These include:
- existence of bind-elements (Chiba works only for documents with explicit bind elements)
- correctness of binding link
- correctness of nodeset reference
- Version:
- $Id: PreProcessor.java,v 1.8 2003/10/01 21:57:47 joernt Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doc
private org.w3c.dom.Document doc
ns
NamespaceCtx ns
cat
private static org.apache.log4j.Category cat
PreProcessor
public PreProcessor(org.w3c.dom.Document aInput,
NamespaceCtx aNS)
process
public void process()
getResult
public org.w3c.dom.Document getResult()
canonicalize
public void canonicalize()
- responsible for transforming the input document into an
canonicalized version.
public for testing
importChibaNamespace
private void importChibaNamespace()
adjustAttributeNamespace
private org.w3c.dom.Document adjustAttributeNamespace()
conditionXFormAttributes
private void conditionXFormAttributes(org.w3c.dom.Element node)