org.plasma.xml.xslt
Class AttributeType

java.lang.Object
  extended by org.plasma.xml.xslt.AttributeType

public class AttributeType
extends java.lang.Object

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

content

protected java.util.List<java.io.Serializable> content

namespace

protected java.lang.String namespace

space

protected java.lang.String space

name

protected java.lang.String name
Constructor Detail

AttributeType

public AttributeType()
Method Detail

getContent

public java.util.List<java.io.Serializable> getContent()
Gets the value of the content property.

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>


getNamespace

public java.lang.String getNamespace()
Gets the value of the namespace property.

Returns:
possible object is String

setNamespace

public void setNamespace(java.lang.String value)
Sets the value of the namespace property.

Parameters:
value - allowed object is String

getSpace

public java.lang.String getSpace()
Gets the value of the space property.

Returns:
possible object is String

setSpace

public void setSpace(java.lang.String value)
Sets the value of the space property.

Parameters:
value - allowed object is String

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

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 © 2013. All Rights Reserved.