Class Index | File Index

Classes


Class xmldom.RelaxNGParser


Defined in: RelaxNGParser.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
RelaxNG can check a DOM tree against a Relax NG schema The RelaxNG implementation is currently not complete.
Field Summary
Field Attributes Field Name and Description
 
Method Summary
Method Attributes Method Name and Description
<inner>  
combineDefines(combine, name, e, siblings)
<inner>  
copyAttributes(atts, name, names)
<inner>  
main(dom, callback)
<inner>  
parseChildren(c, e, elements, names)
<inner>  
resolveElements(def, elements)
<inner>  
splitQName(name)
<inner>  
<inner>  
<inner>  
trim(str)
Class Detail
xmldom.RelaxNGParser()
RelaxNG can check a DOM tree against a Relax NG schema The RelaxNG implementation is currently not complete. Relax NG should not report errors on valid DOM trees, but it will not check all constraints that a Relax NG file can define. The current implementation does not load external parts of a Relax NG file. The main purpose of this Relax NG engine is to validate runtime ODF documents. The DOM tree is traversed via a TreeWalker. A custom TreeWalker implementation can hide parts of a DOM tree. This is useful in WebODF, where special elements and attributes in the runtime DOM tree.
Field Detail
{?Array} parseRelaxNGDOM
Method Detail
<inner> {?xmldom.RNG.Element} combineDefines(combine, name, e, siblings)
Parameters:
{*} combine
{string} name
{!xmldom.RNG.Element} e
{undefined|!Array.} siblings
Returns:
{?xmldom.RNG.Element}

<inner> {!Object.} copyAttributes(atts, name, names)
Parameters:
{?NamedNodeMap} atts
{!string} name
{!Array.} names
Returns:
{!Object.}

<inner> {?Array.} main(dom, callback)
Parameters:
{!Document} dom
{!Function} callback
Returns:
{?Array.}

<inner> {string} parseChildren(c, e, elements, names)
Parameters:
{?Node} c
{!Array.<*>} e
{!Array.<*>} elements
{!Array.} names
Returns:
{string}

<inner> {undefined} resolveElements(def, elements)
Parameters:
{!xmldom.RNG.Element} def
elements
Returns:
{undefined}

<inner> {!Array.} splitQName(name)
Parameters:
{!string} name
Returns:
{!Array.}

<inner> {undefined} splitQNames(def)
Parameters:
{!{names:!Array.}} def
Returns:
{undefined}

<inner> {!xmldom.RNG.Name} splitToDuos(e)
Parameters:
{!xmldom.RNG.Name} e
Returns:
{!xmldom.RNG.Name}

<inner> {!string} trim(str)
Parameters:
{!string} str
Returns:
{!string}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 06 2015 04:10:42 GMT+0200 (MESZ)