net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200
Class ContainerRuntimeOptionType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.ContainerRuntimeOptionType
All Implemented Interfaces:
Serializable, Cloneable

public class ContainerRuntimeOptionType
extends Object
implements Serializable, Cloneable

The container-runtime-option element contains settings for the portlet container that the portlet expects to be honored at runtime. These settings may re-define default portlet container behavior, like the javax.portlet.escapeXml setting that disables XML encoding of URLs produced by the portlet tag library as default. Names with the javax.portlet prefix are reserved for the Java Portlet Specification. Used in: portlet-app, portlet

Java class for container-runtime-optionType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="container-runtime-optionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}nameType"/>
         <element name="value" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}valueType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  NameType name
           
protected  ValueType[] value
           
 
Constructor Summary
ContainerRuntimeOptionType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.ContainerRuntimeOptionType instance.
ContainerRuntimeOptionType(ContainerRuntimeOptionType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.ContainerRuntimeOptionType instance by copying a given instance.
 
Method Summary
 ContainerRuntimeOptionType clone()
          Creates and returns a copy of this object.
protected  void copyValue(ValueType[] source)
          Copies all values of property Value.
 NameType getName()
          Gets the value of the name property.
 ValueType[] getValue()
           
 ValueType getValue(int idx)
           
 int getValueLength()
           
 void setName(NameType value)
          Sets the value of the name property.
 ValueType setValue(int idx, ValueType value)
           
 void setValue(ValueType[] values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected NameType name

value

protected ValueType[] value
Constructor Detail

ContainerRuntimeOptionType

public ContainerRuntimeOptionType()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.ContainerRuntimeOptionType instance.


ContainerRuntimeOptionType

public ContainerRuntimeOptionType(ContainerRuntimeOptionType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.ContainerRuntimeOptionType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getName

public NameType getName()
Gets the value of the name property.

Returns:
possible object is NameType

setName

public void setName(NameType value)
Sets the value of the name property.

Parameters:
value - allowed object is NameType

getValue

public ValueType[] getValue()
Returns:
array of ValueType

getValue

public ValueType getValue(int idx)
Returns:
one of ValueType

getValueLength

public int getValueLength()

setValue

public void setValue(ValueType[] values)
Parameters:
values - allowed objects are ValueType

setValue

public ValueType setValue(int idx,
                          ValueType value)
Parameters:
value - allowed object is ValueType

copyValue

protected void copyValue(ValueType[] source)
Copies all values of property Value.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

clone

public ContainerRuntimeOptionType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.