|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.webcontainer.sync.property.HttpImageReferencePeer
public class HttpImageReferencePeer
ImageReferencePeer
for HttpImageReference
properties.
Constructor Summary | |
---|---|
HttpImageReferencePeer()
|
Method Summary | |
---|---|
java.lang.String |
getImageUrl(nextapp.echo.app.util.Context context,
nextapp.echo.app.ImageReference imageReference)
Returns the URI of an image. |
java.lang.Object |
toProperty(nextapp.echo.app.util.Context context,
java.lang.Class objectClass,
org.w3c.dom.Element propertyElement)
Translates an XML representation of a property to a property value object. |
void |
toXml(nextapp.echo.app.util.Context context,
java.lang.Class objectClass,
org.w3c.dom.Element propertyElement,
java.lang.Object propertyValue)
Translates an object to an XML representation of a property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpImageReferencePeer()
Method Detail |
---|
public java.lang.String getImageUrl(nextapp.echo.app.util.Context context, nextapp.echo.app.ImageReference imageReference) throws nextapp.echo.app.serial.SerialException
nextapp.echo.app.serial.property.ImageReferencePeer
getImageUrl
in interface nextapp.echo.app.serial.property.ImageReferencePeer
context
- the relevant Context
imageReference
- the ImageReference
to be rendered
nextapp.echo.app.serial.SerialException
ImageReferencePeer.getImageUrl(
nextapp.echo.app.util.Context, nextapp.echo.app.ImageReference)
public java.lang.Object toProperty(nextapp.echo.app.util.Context context, java.lang.Class objectClass, org.w3c.dom.Element propertyElement) throws nextapp.echo.app.serial.SerialException
nextapp.echo.app.serial.SerialPropertyPeer
toProperty
in interface nextapp.echo.app.serial.SerialPropertyPeer
context
- the relevant Context
objectClass
- the class of the property valuepropertyElement
- the XML <p> element to process
nextapp.echo.app.serial.SerialException
- when the property cannot be de-serialized.SerialPropertyPeer.toProperty(nextapp.echo.app.util.Context,
java.lang.Class, org.w3c.dom.Element)
public void toXml(nextapp.echo.app.util.Context context, java.lang.Class objectClass, org.w3c.dom.Element propertyElement, java.lang.Object propertyValue) throws nextapp.echo.app.serial.SerialException
nextapp.echo.app.serial.SerialPropertyPeer
toXml
in interface nextapp.echo.app.serial.SerialPropertyPeer
context
- the relevant context
objectClass
- the class of the property valuepropertyElement
- the XML <p> element in which the
property value should be renderedpropertyValue
- the property value
nextapp.echo.app.serial.SerialException
SerialPropertyPeer.toXml(nextapp.echo.app.util.Context,
java.lang.Class, org.w3c.dom.Element, java.lang.Object)
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |