public class StringReplace 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">
<choice>
<group ref="{http://www.schematron-quickfix.com/validator/process}templateElements"/>
</choice>
<attGroup ref="{http://www.schematron-quickfix.com/validator/process}activityBase"/>
<attribute name="regex" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="select" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
content |
protected String |
match |
protected String |
regex |
protected String |
select |
protected String |
useWhen |
| Constructor and Description |
|---|
StringReplace() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getContent()
Gets the value of the content property.
|
String |
getMatch()
Gets the value of the match property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
String |
getRegex()
Gets the value of the regex property.
|
String |
getSelect()
Gets the value of the select property.
|
String |
getUseWhen()
Gets the value of the useWhen property.
|
void |
setMatch(String value)
Sets the value of the match property.
|
void |
setRegex(String value)
Sets the value of the regex property.
|
void |
setSelect(String value)
Sets the value of the select property.
|
void |
setUseWhen(String value)
Sets the value of the useWhen property.
|
protected String regex
protected String select
protected String match
protected String useWhen
public List<Object> getContent()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
String
Element
public String getRegex()
Stringpublic void setRegex(String value)
value - allowed object is
Stringpublic String getSelect()
Stringpublic void setSelect(String value)
value - allowed object is
Stringpublic String getMatch()
Stringpublic void setMatch(String value)
value - allowed object is
Stringpublic String getUseWhen()
Stringpublic void setUseWhen(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.