Package gen.core.tbx

Class P

java.lang.Object
gen.core.tbx.P

public class P 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 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
    Constructor
    Description
    P()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the value of the content property.
    Gets the value of the id property.
    <pre> &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt; &lt;h3&gt;lang (as an attribute name)&lt;/h3&gt; &lt;p&gt; denotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited.
    Gets the value of the type property.
    void
    setId(String value)
    Sets the value of the id property.
    void
    setLang(String value)
    Sets the value of the lang property.
    void
    setType(String value)
    Sets the value of the type property.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • P

      public P()
  • Method Details

    • getContent

      public List<Object> 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 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 Bpt Ept Foreign Hi Ph String

      Returns:
      The value of the content property.
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getType

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • getLang

      public String getLang()
      <pre> &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt; &lt;h3&gt;lang (as an attribute name)&lt;/h3&gt; &lt;p&gt; 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.&lt;/p&gt; &lt;/div&gt; </pre> <pre> &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt; &lt;h4&gt;Notes&lt;/h4&gt; &lt;p&gt; 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. &lt;/p&gt; &lt;p&gt; See BCP 47 at &lt;a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt"&gt; http://www.rfc-editor.org/rfc/bcp/bcp47.txt&lt;/a&gt; and the IANA language subtag registry at &lt;a href="http://www.iana.org/assignments/language-subtag-registry"&gt; http://www.iana.org/assignments/language-subtag-registry&lt;/a&gt; for further information. &lt;/p&gt; &lt;p&gt; The union allows for the 'un-declaration' of xml:lang with the empty string. &lt;/p&gt; &lt;/div&gt; </pre>
      Returns:
      possible object is String
    • setLang

      public void setLang(String value)
      Sets the value of the lang property.
      Parameters:
      value - allowed object is String
      See Also: