|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.plasma.xml.xslt.AttributeType
public class AttributeType
Java class for attribute-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="attribute-type">
<complexContent>
<extension base="{http://www.w3.org/1999/XSL/Transform}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{http://www.w3.org/1999/XSL/Transform}char-instruction"/>
<element ref="{http://www.w3.org/1999/XSL/Transform}top-level-element-and-char-instruction"/>
</choice>
<attGroup ref="{http://www.w3.org/1999/XSL/Transform}name-avt"/>
<attribute name="namespace" type="{http://www.w3.org/1999/XSL/Transform}expr-avt" />
<attribute ref="{http://www.w3.org/XML/1998/namespace}space"/>
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.util.List<java.io.Serializable> |
content
|
protected java.lang.String |
name
|
protected java.lang.String |
namespace
|
protected java.lang.String |
space
|
| Constructor Summary | |
|---|---|
AttributeType()
|
|
| Method Summary | |
|---|---|
java.util.List<java.io.Serializable> |
getContent()
Gets the value of the content property. |
java.lang.String |
getName()
Gets the value of the name property. |
java.lang.String |
getNamespace()
Gets the value of the namespace property. |
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 |
getSpace()
Gets the value of the space property. |
void |
setName(java.lang.String value)
Sets the value of the name property. |
void |
setNamespace(java.lang.String value)
Sets the value of the namespace property. |
void |
setSpace(java.lang.String value)
Sets the value of the space property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<java.io.Serializable> content
protected java.lang.String namespace
protected java.lang.String space
protected java.lang.String name
| Constructor Detail |
|---|
public AttributeType()
| Method Detail |
|---|
public java.util.List<java.io.Serializable> getContent()
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 content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<If>
JAXBElement<ValueOf>
JAXBElement<ForEach>
JAXBElement<Variable>
JAXBElement<CopyOf>
JAXBElement<Number>
JAXBElement<CallTemplate>
JAXBElement<ApplyTemplates>
JAXBElement<Choose>
JAXBElement<Copy>
JAXBElement<Fallback>
String
JAXBElement<Message>
JAXBElement<Text>
JAXBElement<AnyType>
JAXBElement<AnyType>
JAXBElement<AnyType>
public java.lang.String getNamespace()
Stringpublic void setNamespace(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getSpace()
Stringpublic void setSpace(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||