Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
RootFolder.java
1
16
package
net.squiz.matrix.core;
17
18
import
org.w3c.dom.*;
19
import
net.squiz.matrix.matrixtree.*;
20
21
public
class
RootFolder
extends
Asset
{
22
23
private
MatrixTreeNode
rootNode;
24
25
public
RootFolder
(Element assetElement) {
26
super(assetElement.getAttribute(
"assetid"
));
27
String linkid =
processAssetXML
(assetElement,
true
);
28
rootNode =
new
MatrixTreeNode
(
this
, linkid, getLinkType(assetElement), null, null, null, 0);
29
addNode(rootNode, linkid);
30
}
31
36
public
MatrixTreeNode
processAssetXML
(
37
Element assetElement,
38
MatrixTreeNode
parent,
39
int
index) {
40
String linkid =
processAssetXML
(assetElement,
false
);
41
return
rootNode;
42
}
43
44
public
MatrixTreeNode
getRootNode() {
45
return
rootNode;
46
}
47
}
squiz_matrix
core
lib
asset_map
java
src
net
squiz
matrix
core
RootFolder.java
Generated on Tue Jan 29 2013 14:04:48 for Squiz Matrix by
1.8.3.1