easybox.org.w3._2001.xmlschema
Class EJaxbOpenAttrs

java.lang.Object
  extended by com.ebmwebsourcing.easybox.impl.AbstractModelObject
      extended by com.ebmwebsourcing.easybox.impl.AbstractJaxbModelObject
          extended by easybox.org.w3._2001.xmlschema.EJaxbOpenAttrs
All Implemented Interfaces:
com.ebmwebsourcing.easybox.api.ModelObject
Direct Known Subclasses:
EJaxbAnnotated, EJaxbAnnotation, EJaxbRedefine, EJaxbSchema

public class EJaxbOpenAttrs
extends com.ebmwebsourcing.easybox.impl.AbstractJaxbModelObject

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>
 


Constructor Summary
EJaxbOpenAttrs()
           
 
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.
 
Methods inherited from class com.ebmwebsourcing.easybox.impl.AbstractJaxbModelObject
duplicate, duplicateAs, equals, getAdoptiveParent, getBaseURI, getDOMNode, getNaturalParent, hashCode, setAdoptiveParent, setBaseURI, setNaturalParent
 
Methods inherited from class com.ebmwebsourcing.easybox.impl.AbstractModelObject
getParent, getXmlObject, setXmlObject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJaxbOpenAttrs

public EJaxbOpenAttrs()
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


Copyright © 2011 Petals Link. All Rights Reserved.