org.apache.type_test.types2
Class SimpleContentExtWithAnyAttribute

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

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 Summary
protected  Integer attrib
           
protected  String value
           
 
Constructor Summary
SimpleContentExtWithAnyAttribute()
           
 
Method Summary
 Integer getAttrib()
          Gets the value of the attrib property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 String getValue()
          Gets the value of the value property.
 void setAttrib(Integer value)
          Sets the value of the attrib property.
 void setValue(String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected String value

attrib

protected Integer attrib
Constructor Detail

SimpleContentExtWithAnyAttribute

public SimpleContentExtWithAnyAttribute()
Method Detail

getValue

public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getAttrib

public Integer getAttrib()
Gets the value of the attrib property.

Returns:
possible object is Integer

setAttrib

public void setAttrib(Integer value)
Sets the value of the attrib property.

Parameters:
value - allowed object is Integer

getOtherAttributes

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


Apache CXF