comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java @ 3937:c254939fae52

Also add the name to the artifact description flys-artifacts/trunk@5637 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Fri, 28 Sep 2012 08:46:21 +0000
parents deff2c337111
children 529d0e61e70d
comparison
equal deleted inserted replaced
3936:4e1b3b4ef132 3937:c254939fae52
47 ArtifactNamespaceContext.NAMESPACE_URI, 47 ArtifactNamespaceContext.NAMESPACE_URI,
48 ArtifactNamespaceContext.NAMESPACE_PREFIX); 48 ArtifactNamespaceContext.NAMESPACE_PREFIX);
49 49
50 Element root = ProtocolUtils.createRootNode(creator); 50 Element root = ProtocolUtils.createRootNode(creator);
51 desc.appendChild(root); 51 desc.appendChild(root);
52
53 Element name = ProtocolUtils.createArtNode(
54 creator, "name",
55 new String[] { "value" },
56 new String[] { getName() });
57
58 root.appendChild(name);
52 59
53 ProtocolUtils.appendDescribeHeader(creator, root, identifier(), hash()); 60 ProtocolUtils.appendDescribeHeader(creator, root, identifier(), hash());
54 root.appendChild(createOutputModes(cc, desc, creator)); 61 root.appendChild(createOutputModes(cc, desc, creator));
55 62
56 // Add the data to an anonymous state. 63 // Add the data to an anonymous state.

http://dive4elements.wald.intevation.org