public static class XPathNamespaceMap.Entry 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"> <sequence> <element name="string" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="string" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<JAXBElement<String>> |
content |
Constructor and Description |
---|
Entry() |
Modifier and Type | Method and Description |
---|---|
List<JAXBElement<String>> |
getContent()
Gets the rest of the content model.
|
protected List<JAXBElement<String>> content
public List<JAXBElement<String>> getContent()
You are getting this "catch-all" property because of the following reason: The field name "String" is used by two different parts of a schema. See: line 61 of file:/home/stain/src/taverna/incubator-taverna-language/taverna-scufl2-t2flow/src/main/resources/org/apache/taverna/scufl2/translator/t2flow/xsd/xpathactivity.xsd line 60 of file:/home/stain/src/taverna/incubator-taverna-language/taverna-scufl2-t2flow/src/main/resources/org/apache/taverna/scufl2/translator/t2flow/xsd/xpathactivity.xsd
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content property.
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
JAXBElement
<
String
>
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.