net.sf.jour.config.impl
Class AspectTypeImpl

java.lang.Object
  extended bynet.sf.jour.config.impl.AspectTypeImpl
All Implemented Interfaces:
AspectType, com.sun.xml.bind.JAXBObject, UnmarshallableObject, ValidatableObject, XMLSerializable
Direct Known Subclasses:
AspectImpl

public class AspectTypeImpl
extends java.lang.Object
implements AspectType, com.sun.xml.bind.JAXBObject, UnmarshallableObject, XMLSerializable, ValidatableObject


Nested Class Summary
 class AspectTypeImpl.Unmarshaller
           
 
Field Summary
protected  java.lang.String _Descr
           
protected  boolean _Enabled
           
protected  com.sun.xml.bind.util.ListImpl _Pointcut
           
protected  java.lang.String _Type
           
protected  java.lang.String _Typedef
           
protected  boolean has_Enabled
           
static java.lang.Class version
           
 
Constructor Summary
AspectTypeImpl()
           
 
Method Summary
protected  com.sun.xml.bind.util.ListImpl _getPointcut()
           
 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.
 java.lang.String getDescr()
          Gets the value of the descr property.
 java.util.List getPointcut()
          Gets the value of the Pointcut property.
 java.lang.Class getPrimaryInterface()
          Gets the main interface that this object implements.
 java.lang.String getType()
          Gets the value of the type property.
 java.lang.String getTypedef()
          Gets the value of the typedef property.
 boolean isEnabled()
          Gets the value of the enabled 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 setDescr(java.lang.String value)
          Sets the value of the descr property.
 void setEnabled(boolean value)
          Sets the value of the enabled property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 void setTypedef(java.lang.String value)
          Sets the value of the typedef property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Type

protected java.lang.String _Type

_Descr

protected java.lang.String _Descr

_Pointcut

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

has_Enabled

protected boolean has_Enabled

_Enabled

protected boolean _Enabled

_Typedef

protected java.lang.String _Typedef

version

public static final java.lang.Class version
Constructor Detail

AspectTypeImpl

public AspectTypeImpl()
Method Detail

getType

public java.lang.String getType()
Description copied from interface: AspectType
Gets the value of the type property.

Specified by:
getType in interface AspectType
Returns:
possible object is String

setType

public void setType(java.lang.String value)
Description copied from interface: AspectType
Sets the value of the type property.

Specified by:
setType in interface AspectType
Parameters:
value - allowed object is String

getDescr

public java.lang.String getDescr()
Description copied from interface: AspectType
Gets the value of the descr property.

Specified by:
getDescr in interface AspectType
Returns:
possible object is String

setDescr

public void setDescr(java.lang.String value)
Description copied from interface: AspectType
Sets the value of the descr property.

Specified by:
setDescr in interface AspectType
Parameters:
value - allowed object is String

_getPointcut

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

getPointcut

public java.util.List getPointcut()
Description copied from interface: AspectType
Gets the value of the Pointcut 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 Pointcut property.

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

    getPointcut().add(newItem);
 

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

Specified by:
getPointcut in interface AspectType

isEnabled

public boolean isEnabled()
Description copied from interface: AspectType
Gets the value of the enabled property.

Specified by:
isEnabled in interface AspectType

setEnabled

public void setEnabled(boolean value)
Description copied from interface: AspectType
Sets the value of the enabled property.

Specified by:
setEnabled in interface AspectType

getTypedef

public java.lang.String getTypedef()
Description copied from interface: AspectType
Gets the value of the typedef property.

Specified by:
getTypedef in interface AspectType
Returns:
possible object is String

setTypedef

public void setTypedef(java.lang.String value)
Description copied from interface: AspectType
Sets the value of the typedef property.

Specified by:
setTypedef in interface AspectType
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 © 2004 sourceforge. All Rights Reserved.