pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.webdav.util
Class LiveProperty

java.lang.Object
  extended by org.torweg.pulse.webdav.util.LiveProperty
All Implemented Interfaces:
java.io.Serializable, IProperty

public final class LiveProperty
extends java.lang.Object
implements IProperty

represents a live property as defined by RFC 4918.

Version:
$Revision: 1435 $
Author:
Thomas Weber
See Also:
Serialized Form

Constructor Summary
LiveProperty(DAVProperties prop)
          creates a new live property from the given DAVProperties.
LiveProperty(DAVProperties prop, org.jdom.Content content)
          creates a new live property from the given DAVProperties and adds the Content as the properties content.
LiveProperty(org.jdom.Element el)
          creates a new live property from the given element.
 
Method Summary
 IProperty extractPrototype()
          returns a prototype of the live property.
 java.lang.String getName()
          returns the name of the live property.
 java.lang.String getNamespaceURI()
          returns the namespace URI of the live property.
 org.jdom.Element getPropElement()
          returns the live property as a JDOM element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiveProperty

public LiveProperty(DAVProperties prop)
creates a new live property from the given DAVProperties.

Parameters:
prop - the DAVProperties type for the live property

LiveProperty

public LiveProperty(DAVProperties prop,
                    org.jdom.Content content)
creates a new live property from the given DAVProperties and adds the Content as the properties content.

Parameters:
prop - the DAVProperties type for the live property
content - the content for the live property

LiveProperty

public LiveProperty(org.jdom.Element el)
creates a new live property from the given element.

Parameters:
el - the element to be processed
Method Detail

extractPrototype

public IProperty extractPrototype()
returns a prototype of the live property.

Specified by:
extractPrototype in interface IProperty
Returns:
a prototype of the live property
See Also:
IProperty.extractPrototype()

getName

public java.lang.String getName()
returns the name of the live property.

Specified by:
getName in interface IProperty
Returns:
the name of the live property
See Also:
IProperty.getName()

getNamespaceURI

public java.lang.String getNamespaceURI()
returns the namespace URI of the live property.

Specified by:
getNamespaceURI in interface IProperty
Returns:
the namespace URI of the live property
See Also:
IProperty.getNamespaceURI()

getPropElement

public org.jdom.Element getPropElement()
returns the live property as a JDOM element.

Specified by:
getPropElement in interface IProperty
Returns:
the live property as a JDOM element
See Also:
IProperty.getPropElement()