public class Param extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{http://purl.oclc.org/dsdl/schematron}foreign"/>
<attribute name="name" use="required" type="{http://purl.oclc.org/dsdl/schematron}nameValue" />
<attribute name="value" use="required" type="{http://purl.oclc.org/dsdl/schematron}non-empty-string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected String |
value |
| Constructor and Description |
|---|
Param() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the value of the name property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
String |
getValue()
Gets the value of the value property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setValue(String value)
Sets the value of the value property.
|
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
Copyright © 2023 NorStella. All rights reserved.