public class BoxShadowPeer extends java.lang.Object implements SerialPropertyPeer
SerialPropertyPeer for BoxShadow properties.| Constructor and Description |
|---|
BoxShadowPeer() |
| Modifier and Type | Method and Description |
|---|---|
static org.w3c.dom.Node |
toNode(Context context,
BoxShadow boxShadow)
Creates a
Node representation of the box shadow state suitable for appending to a property element. |
java.lang.Object |
toProperty(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(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.
|
public static final org.w3c.dom.Node toNode(Context context, BoxShadow boxShadow) throws SerialException
Node representation of the box shadow state suitable for appending to a property element.context - the relevant ContextboxShadow - the box shadow to renderElement nodeSerialExceptionpublic java.lang.Object toProperty(Context context, java.lang.Class objectClass, org.w3c.dom.Element propertyElement) throws SerialException
SerialPropertyPeertoProperty in interface SerialPropertyPeercontext - the relevant ContextobjectClass - the class of the property containerpropertyElement - the XML <p> element to processSerialException - when the property cannot be de-serialized.public void toXml(Context context, java.lang.Class objectClass, org.w3c.dom.Element propertyElement, java.lang.Object propertyValue) throws SerialException
SerialPropertyPeertoXml in interface SerialPropertyPeercontext - the relevant contextobjectClass - the class of the property containerpropertyElement - the XML <p> element in which the
property value should be renderedpropertyValue - the property valueSerialException