org.w3._2001.xmlschema
Class SimpleContent

java.lang.Object
  extended by org.w3._2001.xmlschema.OpenAttrs
      extended by org.w3._2001.xmlschema.Annotated
          extended by org.w3._2001.xmlschema.SimpleContent
All Implemented Interfaces:
java.io.Serializable

public class SimpleContent
extends Annotated
implements java.io.Serializable

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
       <choice>
         <element name="restriction" type="{http://www.w3.org/2001/XMLSchema}simpleRestrictionType"/>
         <element name="extension" type="{http://www.w3.org/2001/XMLSchema}simpleExtensionType"/>
       </choice>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  SimpleExtensionType extension
           
protected  SimpleRestrictionType restriction
           
 
Fields inherited from class org.w3._2001.xmlschema.Annotated
annotation, id
 
Constructor Summary
SimpleContent()
           
 
Method Summary
 SimpleExtensionType getExtension()
          Gets the value of the extension property.
 SimpleRestrictionType getRestriction()
          Gets the value of the restriction property.
 void setExtension(SimpleExtensionType value)
          Sets the value of the extension property.
 void setRestriction(SimpleRestrictionType value)
          Sets the value of the restriction property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class org.w3._2001.xmlschema.Annotated
getAnnotation, getId, setAnnotation, setId
 
Methods inherited from class org.w3._2001.xmlschema.OpenAttrs
getOtherAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

restriction

protected SimpleRestrictionType restriction

extension

protected SimpleExtensionType extension
Constructor Detail

SimpleContent

public SimpleContent()
Method Detail

getRestriction

public SimpleRestrictionType getRestriction()
Gets the value of the restriction property.

Returns:
possible object is SimpleRestrictionType

setRestriction

public void setRestriction(SimpleRestrictionType value)
Sets the value of the restriction property.

Parameters:
value - allowed object is SimpleRestrictionType

getExtension

public SimpleExtensionType getExtension()
Gets the value of the extension property.

Returns:
possible object is SimpleExtensionType

setExtension

public void setExtension(SimpleExtensionType value)
Sets the value of the extension property.

Parameters:
value - allowed object is SimpleExtensionType

toString

public java.lang.String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class Annotated


Copyright © 2011 evolveum. All Rights Reserved.