org.w3._2001.xmlschema
Class OpenAttrs

java.lang.Object
  extended by org.w3._2001.xmlschema.OpenAttrs
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Annotated, Annotation, Redefine, Schema

public class OpenAttrs
extends java.lang.Object
implements java.io.Serializable

This type is extended by almost all schema types to allow attributes from other namespaces to be added to user schemas.

Java class for openAttrs complex type.

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

 <complexType name="openAttrs">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
OpenAttrs()
           
 
Method Summary
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpenAttrs

public OpenAttrs()
Method Detail

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.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

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 java.lang.Object


Copyright © 2011 evolveum. All Rights Reserved.