org.jcoderz.commons.logging.impl
Class ParameterTypeImpl

java.lang.Object
  extended by org.jcoderz.commons.logging.impl.ParameterTypeImpl
All Implemented Interfaces:
com.sun.xml.bind.JAXBObject, ParameterType, UnmarshallableObject, ValidatableObject, XMLSerializable

public class ParameterTypeImpl
extends Object
implements ParameterType, com.sun.xml.bind.JAXBObject, UnmarshallableObject, XMLSerializable, ValidatableObject


Nested Class Summary
 class ParameterTypeImpl.Unmarshaller
           
 
Field Summary
protected  String _Name
           
protected  com.sun.xml.bind.util.ListImpl _Value
           
static Class version
           
 
Constructor Summary
ParameterTypeImpl()
           
 
Method Summary
protected  com.sun.xml.bind.util.ListImpl _getValue()
           
 com.sun.msv.verifier.DocumentDeclaration createRawValidator()
          Gets the schema fragment associated with this class.
 UnmarshallingEventHandler createUnmarshaller(UnmarshallingContext context)
          Creates an unmarshaller that will unmarshall this object.
 String getName()
          Gets the value of the name property.
 Class getPrimaryInterface()
          Gets the main interface that this object implements.
 List getValue()
          Gets the value of the Value property.
 void serializeAttributes(XMLSerializer context)
          Serializes attributes into the specified target.
 void serializeBody(XMLSerializer context)
          Serializes child elements and texts into the specified target.
 void serializeURIs(XMLSerializer context)
          Declares all the namespace URIs this object is using at its top-level scope into the specified target.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Name

protected String _Name

_Value

protected com.sun.xml.bind.util.ListImpl _Value

version

public static final Class version
Constructor Detail

ParameterTypeImpl

public ParameterTypeImpl()
Method Detail

getName

public String getName()
Description copied from interface: ParameterType
Gets the value of the name property.

Specified by:
getName in interface ParameterType
Returns:
possible object is String

setName

public void setName(String value)
Description copied from interface: ParameterType
Sets the value of the name property.

Specified by:
setName in interface ParameterType
Parameters:
value - allowed object is String

_getValue

protected com.sun.xml.bind.util.ListImpl _getValue()

getValue

public List getValue()
Description copied from interface: ParameterType
Gets the value of the Value 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 Value property.

For example, to add a new item, do as follows:

    getValue().add(newItem);
 

Objects of the following type(s) are allowed in the list String

Specified by:
getValue in interface ParameterType

createUnmarshaller

public UnmarshallingEventHandler createUnmarshaller(UnmarshallingContext context)
Description copied from interface: UnmarshallableObject
Creates an unmarshaller that will unmarshall this object.

Specified by:
createUnmarshaller in interface UnmarshallableObject

serializeBody

public void serializeBody(XMLSerializer context)
                   throws SAXException
Description copied from interface: XMLSerializable
Serializes child elements and texts into the specified target.

Specified by:
serializeBody in interface XMLSerializable
Throws:
SAXException

serializeAttributes

public void serializeAttributes(XMLSerializer context)
                         throws SAXException
Description copied from interface: XMLSerializable
Serializes attributes into the specified target.

Specified by:
serializeAttributes in interface XMLSerializable
Throws:
SAXException

serializeURIs

public void serializeURIs(XMLSerializer context)
                   throws SAXException
Description copied from interface: XMLSerializable
Declares all the namespace URIs this object is using at its top-level scope into the specified target.

Specified by:
serializeURIs in interface XMLSerializable
Throws:
SAXException

getPrimaryInterface

public Class getPrimaryInterface()
Description copied from interface: ValidatableObject
Gets the main interface that this object implements. For example, FooImpl will return Foo from this method.

Specified by:
getPrimaryInterface in interface ValidatableObject

createRawValidator

public com.sun.msv.verifier.DocumentDeclaration createRawValidator()
Description copied from interface: ValidatableObject
Gets the schema fragment associated with this class.

Specified by:
createRawValidator in interface ValidatableObject


Copyright 2007 The jCoderZ Project.