Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
Protos
Nomad 3D
nomad-3d-commons
Commits
cbab27e6
Commit
cbab27e6
authored
Jun 12, 2017
by
Ivan Dages
Browse files
importer : doc fixed
parent
c9c4e974
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/ill/ics/n3d/io/Nomad3DImporter.java
View file @
cbab27e6
...
...
@@ -152,7 +152,7 @@ public class Nomad3DImporter {
* Reads alll of the configurations.
* @param doc XML document
* @param dirPath Path of the directory containing the files
* @throws XMLParseException
* @throws XMLParseException
if the document is invalid
*/
private
void
readModel
(
Document
doc
,
String
dirPath
)
throws
XMLParseException
{
Element
eNomad3D
=
(
Element
)
doc
.
getElementsByTagName
(
"Nomad3DXML"
).
item
(
0
);
...
...
@@ -167,7 +167,8 @@ public class Nomad3DImporter {
* Reads a component and its sub-hierarchy.
* @param eComponent Component's XML element
* @param dirPath Path of the directory containing the files
* @throws XMLParseException
* @return Component read
* @throws XMLParseException if the document is invalid
*/
private
Component
readComponent
(
Element
eComponent
,
String
dirPath
)
throws
XMLParseException
{
String
name
=
eComponent
.
getAttribute
(
"name"
);
...
...
@@ -399,7 +400,7 @@ public class Nomad3DImporter {
* Reads mate groups for every components in the subhierarchy of the specified component.
* The hierarchy must be read before.
* @param eComponent Component's XML element
* @param component Component
* @param component Component
Owner of the mates
*/
private
void
readComponentMates
(
Element
eComponent
,
Component
component
)
{
NodeList
children
=
eComponent
.
getChildNodes
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment