Package | Description |
---|---|
fr.ufrt.xmlcorrector.schema | |
fr.ufrt.xmlcorrector.tree |
Modifier and Type | Method and Description |
---|---|
boolean |
TreeSchema.isDeepValid(Node node)
Checks if the Node is valid and if its children are also
It checks the current node using isValid |
boolean |
TreeSchema.isValid(Node node)
Returns true if the Node is locally valid: it doesn't check the validity
of the children
If there isn't any expreg for the given Header, the node should be a leaf to be valid |
Modifier and Type | Method and Description |
---|---|
Node |
Node.getChild(int i)
Returns direct access to the Child at position i
|
Node |
Tree.getNode(Address address)
Returns a copy of the Node at the given address
|
Node |
Tree.getRoot()
Returns a copy of the root
|
Modifier and Type | Method and Description |
---|---|
void |
Node.addChild(int i,
Node n)
Add a child to the Node at the position i
|
Constructor and Description |
---|
Node(Node source)
Constructor using a Node to create a new One
|