XML diff and merge

目次

The XMLDiff\Base class

はじめに

Base abstract class for all the comparsion classes in the extension.

クラス概要

XMLDiff\Base
class XMLDiff\Base {
/* メソッド */
public __construct(string $nsname)
abstract public mixed diff(mixed $from, mixed $to)
abstract public mixed merge(mixed $src, mixed $diff)
}

The XMLDiff\DOM class

はじめに

クラス概要

XMLDiff\DOM
class XMLDiff\DOM extends XMLDiff\Base {
/* メソッド */
public DOMDocument diff(DOMDocument $from, DOMDocument $to)
public DOMDocument merge(DOMDocument $src, DOMDocument $diff)
/* 継承したメソッド */
abstract public mixed XMLDiff\Base::diff(mixed $from, mixed $to)
abstract public mixed XMLDiff\Base::merge(mixed $src, mixed $diff)
}

The XMLDiff\Memory class

はじめに

クラス概要

XMLDiff\Memory
class XMLDiff\Memory extends XMLDiff\Base {
/* メソッド */
public string diff(string $from, string $to)
public string merge(string $src, string $diff)
/* 継承したメソッド */
abstract public mixed XMLDiff\Base::diff(mixed $from, mixed $to)
abstract public mixed XMLDiff\Base::merge(mixed $src, mixed $diff)
}

The XMLDiff\File class

はじめに

クラス概要

XMLDiff\File
class XMLDiff\File extends XMLDiff\Base {
/* メソッド */
public string diff(string $from, string $to)
public string merge(string $src, string $diff)
/* 継承したメソッド */
abstract public mixed XMLDiff\Base::diff(mixed $from, mixed $to)
abstract public mixed XMLDiff\Base::merge(mixed $src, mixed $diff)
}