Class xmldom.RelaxNG
Defined in: RelaxNG.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<inner> |
memoize0arg(func)
|
<inner> |
memoize1arg(type, func)
|
<inner> |
memoize2arg(type, fastfunc, func)
|
<inner> |
memoizeNode(func)
|
<inner> |
unorderedMemoize2arg(type, fastfunc, func)
This memoize function can be used for functions where the order of two
arguments is not important.
|
validate(walker, callback)
Validate the elements pointed to by the TreeWalker
|
Method Detail
<inner>
{function():!xmldom.RelaxNGItem}
memoize0arg(func)
- Parameters:
- {function():!xmldom.RelaxNGItem} func
- Returns:
- {function():!xmldom.RelaxNGItem}
<inner>
{function(!xmldom.RelaxNGItem):!xmldom.RelaxNGItem}
memoize1arg(type, func)
- Parameters:
- {string} type
- {function(!xmldom.RelaxNGItem):!xmldom.RelaxNGItem} func
- Returns:
- {function(!xmldom.RelaxNGItem):!xmldom.RelaxNGItem}
<inner>
{function(!xmldom.RelaxNGItem|!xmldom.RelaxNGItem):!xmldom.RelaxNGItem}
memoize2arg(type, fastfunc, func)
- Parameters:
- {string} type
- {undefined|function(!xmldom.RelaxNGItem|!xmldom.RelaxNGItem):(undefined|xmldom.RelaxNGItem)} fastfunc
- {function(!xmldom.RelaxNGItem|!xmldom.RelaxNGItem):!xmldom.RelaxNGItem} func
- Returns:
- {function(!xmldom.RelaxNGItem|!xmldom.RelaxNGItem):!xmldom.RelaxNGItem}
<inner>
{function(!Node):!xmldom.RelaxNGItem}
memoizeNode(func)
- Parameters:
- {function(!Node):!xmldom.RelaxNGItem} func
- Returns:
- {function(!Node):!xmldom.RelaxNGItem}
<inner>
{function(!xmldom.RelaxNGItem|!xmldom.RelaxNGItem):!xmldom.RelaxNGItem}
unorderedMemoize2arg(type, fastfunc, func)
This memoize function can be used for functions where the order of two
arguments is not important.
- Parameters:
- {string} type
- {undefined|function(!xmldom.RelaxNGItem|!xmldom.RelaxNGItem):(undefined|!xmldom.RelaxNGItem)} fastfunc
- {function(!xmldom.RelaxNGItem|!xmldom.RelaxNGItem):!xmldom.RelaxNGItem} func
- Returns:
- {function(!xmldom.RelaxNGItem|!xmldom.RelaxNGItem):!xmldom.RelaxNGItem}
{undefined}
validate(walker, callback)
Validate the elements pointed to by the TreeWalker
- Parameters:
- {!TreeWalker} walker
-
{!function(Array.
):undefined} callback
- Returns:
- {undefined}