Create a new instance of the XML document factory class.
Returns Object: | A document initialized with default values. |
---|
Return a new empty document.
Arguments: |
|
---|---|
Returns FragmentAdapter: | |
A suitable fragment adapter for the given type. |
Return the proper document fragment adapter for the given deltadoc type.
Returns object: | Instance of the handler factory class suitable for XML documents. |
---|
Returns delta operation handler factory.
Arguments: |
|
---|---|
Returns function: | |
node equality test function. |
Return the proper node equality test function.
Arguments: |
|
---|---|
Returns function: | |
node equality test function. |
Return the proper subtree equality test.
Arguments: |
|
---|---|
Returns function: | |
value comparison function. |
Return proper value checker.
Arguments: |
|
---|---|
Returns Object: | A document initialized from the given DOMDocument. |
Return new document loaded from a DOMDocument.
Arguments: |
|
---|---|
Returns Object: | A document initialized from the given DOMDocument. |
Return new document loaded from a DOMDocument. Use this method for loading the original (unchanged) document and supply it as doc1 to diff.Diff or patch.Patch.
Arguments: |
|
---|---|
Returns String: | The XML representation of the delta document as a string. |
Serialize the data property into the src string and return it. Also store the source into the src property of deltadoc.