1 /*
2 (C) Copyright IBM Corp. 2006, 2013
3
4 THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
5 ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
6 CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
7
8 You can obtain a current copy of the Eclipse Public License from
9 http://www.opensource.org/licenses/eclipse-1.0.php
10
11 @author : Endre Bak, ebak@de.ibm.com
12 *
13 * Flag Date Prog Description
14 * -------------------------------------------------------------------------------
15 * 1565892 2006-12-04 ebak Make SBLIM client JSR48 compliant
16 * 1720707 2007-05-17 ebak Conventional Node factory for CIM-XML SAX parser
17 * 1820763 2007-10-29 ebak Supporting the EmbeddedInstance qualifier
18 * 2003590 2008-06-30 blaschke-oss Change licensing from CPL to EPL
19 * 2524131 2009-01-21 raman_arora Upgrade client to JDK 1.5 (Phase 1)
20 * 2636 2013-05-08 blaschke-oss Nested embedded instances cause CIMXMLParseException
21 */
22
23 package org.metricshub.wbem.sblim.cimclient.internal.cimxml.sax.node;
24
25 /*-
26 * ╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲
27 * WBEM Java Client
28 * ჻჻჻჻჻჻
29 * Copyright 2023 - 2025 MetricsHub
30 * ჻჻჻჻჻჻
31 * Licensed under the Apache License, Version 2.0 (the "License");
32 * you may not use this file except in compliance with the License.
33 * You may obtain a copy of the License at
34 *
35 * http://www.apache.org/licenses/LICENSE-2.0
36 *
37 * Unless required by applicable law or agreed to in writing, software
38 * distributed under the License is distributed on an "AS IS" BASIS,
39 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
40 * See the License for the specific language governing permissions and
41 * limitations under the License.
42 * ╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱
43 */
44
45 import org.metricshub.wbem.javax.cim.CIMDataType;
46 import org.xml.sax.Attributes;
47
48 /**
49 * <pre>
50 * ELEMENT PARAMETER.REFERENCE (QUALIFIER*)
51 * ATTLIST PARAMETER.REFERENCE
52 * %CIMName;
53 * %ReferenceClass;
54 * </pre>
55 */
56 public class ParameterReferenceNode extends AbstractParameterNode {
57 private CIMDataType iType;
58
59 /**
60 * Ctor.
61 */
62 public ParameterReferenceNode() {
63 super(PARAMETER_REFERENCE);
64 }
65
66 @Override
67 protected void specificInit(Attributes pAttribs) {
68 String refClass = getReferenceClass(pAttribs);
69 this.iType = new CIMDataType(refClass != null ? refClass : "");
70 }
71
72 @Override
73 public void testCompletness() {
74 /* */
75 }
76
77 public CIMDataType getType() {
78 return this.iType;
79 }
80 }