org.w3._2001.xmlschema
Class Wildcard

java.lang.Object
  extended by org.w3._2001.xmlschema.OpenAttrs
      extended by org.w3._2001.xmlschema.Annotated
          extended by org.w3._2001.xmlschema.Wildcard
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Any

public class Wildcard
extends Annotated
implements java.io.Serializable

Java class for wildcard complex type.

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

 <complexType name="wildcard">
   <complexContent>
     <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
       <attribute name="namespace" type="{http://www.w3.org/2001/XMLSchema}namespaceList" default="##any" />
       <attribute name="processContents" default="strict">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
             <enumeration value="skip"/>
             <enumeration value="lax"/>
             <enumeration value="strict"/>
           </restriction>
         </simpleType>
       </attribute>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.String> namespace
           
protected  java.lang.String processContents
           
 
Fields inherited from class org.w3._2001.xmlschema.Annotated
annotation, id
 
Constructor Summary
Wildcard()
           
 
Method Summary
 java.util.List<java.lang.String> getNamespace()
          Gets the value of the namespace property.
 java.lang.String getProcessContents()
          Gets the value of the processContents property.
 void setProcessContents(java.lang.String value)
          Sets the value of the processContents 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

namespace

protected java.util.List<java.lang.String> namespace

processContents

protected java.lang.String processContents
Constructor Detail

Wildcard

public Wildcard()
Method Detail

getNamespace

public java.util.List<java.lang.String> getNamespace()
Gets the value of the namespace 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 JAXB object. This is why there is not a set method for the namespace property.

For example, to add a new item, do as follows:

    getNamespace().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getProcessContents

public java.lang.String getProcessContents()
Gets the value of the processContents property.

Returns:
possible object is String

setProcessContents

public void setProcessContents(java.lang.String value)
Sets the value of the processContents property.

Parameters:
value - allowed object is String

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.