org.tagnetic.core.jaxb.tagneticconfig.impl
Class BranchTypeImpl

java.lang.Object
  extended byorg.tagnetic.core.jaxb.tagneticconfig.impl.BranchTypeImpl
All Implemented Interfaces:
BranchType, UnmarshallableObject, ValidatableObject, XMLSerializable

public class BranchTypeImpl
extends java.lang.Object
implements BranchType, UnmarshallableObject, XMLSerializable, ValidatableObject


Nested Class Summary
 class BranchTypeImpl.Unmarshaller
           
 
Field Summary
protected  BranchType _Branch
           
protected  com.sun.xml.bind.util.ListImpl _Value
           
protected  java.lang.String _Var
           
static java.lang.Class version
           
 
Constructor Summary
BranchTypeImpl()
           
 
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.
 BranchType getBranch()
          Gets the value of the branch property.
 java.lang.Class getPrimaryInterface()
          Gets the main interface that this object implements.
 java.util.List getValue()
          Gets the value of the Value property.
 java.lang.String getVar()
          Gets the value of the var 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 setBranch(BranchType value)
          Sets the value of the branch property.
 void setVar(java.lang.String value)
          Sets the value of the var property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Value

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

_Branch

protected BranchType _Branch

_Var

protected java.lang.String _Var

version

public static final java.lang.Class version
Constructor Detail

BranchTypeImpl

public BranchTypeImpl()
Method Detail

_getValue

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

getValue

public java.util.List getValue()
Description copied from interface: BranchType
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 BranchType

getBranch

public BranchType getBranch()
Description copied from interface: BranchType
Gets the value of the branch property.

Specified by:
getBranch in interface BranchType
Returns:
possible object is BranchType

setBranch

public void setBranch(BranchType value)
Description copied from interface: BranchType
Sets the value of the branch property.

Specified by:
setBranch in interface BranchType
Parameters:
value - allowed object is BranchType

getVar

public java.lang.String getVar()
Description copied from interface: BranchType
Gets the value of the var property.

Specified by:
getVar in interface BranchType
Returns:
possible object is String

setVar

public void setVar(java.lang.String value)
Description copied from interface: BranchType
Sets the value of the var property.

Specified by:
setVar in interface BranchType
Parameters:
value - allowed object is String

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 org.xml.sax.SAXException
Description copied from interface: XMLSerializable
Serializes child elements and texts into the specified target.

Specified by:
serializeBody in interface XMLSerializable
Throws:
org.xml.sax.SAXException

serializeAttributes

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

Specified by:
serializeAttributes in interface XMLSerializable
Throws:
org.xml.sax.SAXException

serializeURIs

public void serializeURIs(XMLSerializer context)
                   throws org.xml.sax.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:
org.xml.sax.SAXException

getPrimaryInterface

public java.lang.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 © 2005 tagnetic.org. All Rights Reserved.