public abstract class TBaseElementWithMixedContent extends Object
tBaseElementWithMixedContent complex type的 Java 类。
以下模式片段指定包含在此类中的预期内容。
<complexType name="tBaseElementWithMixedContent">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}documentation" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}extensionElements" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<Serializable> |
content |
protected String |
id |
| 构造器和说明 |
|---|
TBaseElementWithMixedContent() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Serializable> |
getContent()
Gets the value of the content property.
|
String |
getId()
获取id属性的值。
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
void |
setId(String value)
设置id属性的值。
|
protected List<Serializable> content
protected String id
public List<Serializable> 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
JAXBElement<TDocumentation>
JAXBElement<TExtensionElements>
String
public 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 © 2021. All rights reserved.