Class: NodeNameSpace

x3dom. NodeNameSpace

Inheritance

  • NodeNameSpace

Constructor

NodeNameSpace(name, document)

NodeNameSpace constructor

Parameters:
Name Type Description
name
document


Methods

addNode(node, name)

NodeNameSpace Add Node

Parameters:
Name Type Description
node
name

addSpace(space)

NodeNameSpace Add Space

Parameters:
Name Type Description
space

getNamedElement(name) → {null}

NodeNameSpace Get Named Element

Parameters:
Name Type Description
name

Returns:

getNamedNode(name) → {*}

NodeNameSpace Get Named Node

Parameters:
Name Type Description
name

Returns:

getURL(url) → {*}

NodeNameSpace Get URL

Parameters:
Name Type Description
url

Returns:

removeNode(name)

NodeNameSpace Remove Node

Parameters:
Name Type Description
name

removeSpace(space)

NodeNameSpace Remove Space

Parameters:
Name Type Description
space

setBaseURL(url)

NodeNameSpace Set Base URL

Parameters:
Name Type Description
url

setupTree(domNode, parent) → {*}

NodeNameSpace Setup Tree

Parameters:
Name Type Description
domNode
parent

Returns: