@Contract @Hk2XmlPreGenerate public interface SimpleContent extends Annotated
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>
Modifier and Type | Method and Description |
---|---|
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.
|
getAnnotation, getId, setAnnotation, setId
getOtherAttributes, setOtherAttributes
SimpleRestrictionType getRestriction()
SimpleRestrictionType
void setRestriction(SimpleRestrictionType value)
value
- allowed object is
SimpleRestrictionType
SimpleExtensionType getExtension()
SimpleExtensionType
void setExtension(SimpleExtensionType value)
value
- allowed object is
SimpleExtensionType
Copyright © 2009–2023 Oracle Corporation. All rights reserved.