Class SimpleContentExtWithAnyAttribute

java.lang.Object
org.apache.type_test.types2.SimpleContentExtWithAnyAttribute

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public class SimpleContentExtWithAnyAttribute extends Object

Java class for SimpleContentExtWithAnyAttribute complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SimpleContentExtWithAnyAttribute">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attribute name="attrib" type="{http://www.w3.org/2001/XMLSchema}int" />
       <anyAttribute processContents='skip'/>
     </extension>
   </simpleContent>
 </complexType>
 
  • Field Details

    • value

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") protected String value
    • attrib

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") protected Integer attrib
  • Constructor Details

    • SimpleContentExtWithAnyAttribute

      public SimpleContentExtWithAnyAttribute()
  • Method Details

    • getValue

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public String getValue()
      Gets the value of the value property.
      Returns:
      possible object is String
    • setValue

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String
    • getAttrib

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public Integer getAttrib()
      Gets the value of the attrib property.
      Returns:
      possible object is Integer
    • setAttrib

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public void setAttrib(Integer value)
      Sets the value of the attrib property.
      Parameters:
      value - allowed object is Integer
    • getOtherAttributes

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public Map<QName,String> getOtherAttributes()
      Gets a map that contains attributes that aren't bound to any typed property on this class.

      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.

      Returns:
      always non-null