org.joda.property.xml.impl
Class LinkPropertyXMLConvertor
java.lang.Object
|
+--org.joda.property.xml.impl.AbstractPropertyXMLConvertor
|
+--org.joda.property.xml.impl.LinkPropertyXMLConvertor
- All Implemented Interfaces:
- XMLConvertor
- public class LinkPropertyXMLConvertor
- extends AbstractPropertyXMLConvertor
- implements XMLConvertor
LinkPropertyXMLConvertor converts a link property to and from XMLData.
- Author:
- Stephen Colebourne
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final XMLConvertor INSTANCE
LinkPropertyXMLConvertor
protected LinkPropertyXMLConvertor()
- Restrictive constructor
isConvertorFor
public boolean isConvertorFor(java.lang.Object object)
- Description copied from interface:
XMLConvertor
- Check to see if this convertor handles the object.
- Specified by:
isConvertorFor
in interface XMLConvertor
- Parameters:
object
- the object to check
- Returns:
- true if convertor handles object
- See Also:
XMLConvertor.isConvertorFor(Object)
buildXMLData
public void buildXMLData(XMLConvertorContext context,
XMLData data,
java.lang.Object object)
- Add the Property's data to the bean's XMLData passed in
- Specified by:
buildXMLData
in interface XMLConvertor
- Parameters:
context
- the XML contextdata
- the bean's XMLData to add toobject
- the property
expandXMLData
public void expandXMLData(XMLConvertorContext context,
XMLData data)
- Expand the XMLData when a LinkProperty is stored as the
content.
- Specified by:
expandXMLData
in interface XMLConvertor
- Parameters:
context
- the context for the outputdata
- the XMLData to add to
Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.