Package gen.core.tbx
Class P
java.lang.Object
gen.core.tbx.P
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 maxOccurs="unbounded" minOccurs="0">
<element ref="{}hi"/>
<element ref="{}foreign"/>
<element ref="{}bpt"/>
<element ref="{}ept"/>
<element ref="{}ph"/>
</choice>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
<attribute name="type">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="XCSURI"/>
<enumeration value="DCSName"/>
<enumeration value="XCSContent"/>
</restriction>
</simpleType>
</attribute>
<attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
</restriction>
</complexContent>
</complexType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the content property.getId()Gets the value of the id property.getLang()<pre> <?xml version="1.0" encoding="UTF-8"?><div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <h3>lang (as an attribute name)</h3> <p> denotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited.getType()Gets the value of the type property.voidSets the value of the id property.voidSets the value of the lang property.voidSets the value of the type property.
-
Constructor Details
-
P
public P()
-
-
Method Details
-
getContent
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 Jakarta XML Binding object. This is why there is not a
setmethod 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
BptEptForeignHiPhString- Returns:
- The value of the content property.
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getLang
<pre> <?xml version="1.0" encoding="UTF-8"?><div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <h3>lang (as an attribute name)</h3> <p> denotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited. This name is reserved by virtue of its definition in the XML specification.</p> </div> </pre> <pre> <?xml version="1.0" encoding="UTF-8"?><div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <h4>Notes</h4> <p> Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility. </p> <p> See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt"> http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a> and the IANA language subtag registry at <a href="http://www.iana.org/assignments/language-subtag-registry"> http://www.iana.org/assignments/language-subtag-registry</a> for further information. </p> <p> The union allows for the 'un-declaration' of xml:lang with the empty string. </p> </div> </pre>- Returns:
- possible object is
String
-
setLang
Sets the value of the lang property.
-