org.plasma.xml.schema
Class OpenAttrs

java.lang.Object
  extended by org.plasma.xml.schema.OpenAttrs
Direct Known Subclasses:
Annotated, Annotation, Redefine, Schema

public class OpenAttrs
extends Object

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">
     </restriction>
   </complexContent>
 </complexType>
 


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

Constructor Detail

OpenAttrs

public OpenAttrs()
Method Detail

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


Copyright © 2013. All rights reserved.