|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.w3._2001.xmlschema.OpenAttrs
public class OpenAttrs
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 | |
---|---|
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 |
---|
public OpenAttrs()
Method Detail |
---|
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
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.
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |