Package jenkins.util.xstream
Class XStreamDOM.ConverterImpl
- java.lang.Object
-
- jenkins.util.xstream.XStreamDOM.ConverterImpl
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter
,com.thoughtworks.xstream.converters.ConverterMatcher
- Enclosing class:
- XStreamDOM
public static class XStreamDOM.ConverterImpl extends Object implements com.thoughtworks.xstream.converters.Converter
-
-
Constructor Summary
Constructors Constructor Description ConverterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canConvert(Class type)
void
marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter w, com.thoughtworks.xstream.converters.MarshallingContext context)
XStreamDOM
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader r, com.thoughtworks.xstream.converters.UnmarshallingContext context)
Unmarshals a single child element.XStreamDOM
unmarshalElement(com.thoughtworks.xstream.io.HierarchicalStreamReader r, com.thoughtworks.xstream.converters.UnmarshallingContext context)
-
-
-
Method Detail
-
canConvert
public boolean canConvert(Class type)
- Specified by:
canConvert
in interfacecom.thoughtworks.xstream.converters.ConverterMatcher
-
marshal
public void marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter w, com.thoughtworks.xstream.converters.MarshallingContext context)
- Specified by:
marshal
in interfacecom.thoughtworks.xstream.converters.Converter
-
unmarshal
public XStreamDOM unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader r, com.thoughtworks.xstream.converters.UnmarshallingContext context)
Unmarshals a single child element.- Specified by:
unmarshal
in interfacecom.thoughtworks.xstream.converters.Converter
-
unmarshalElement
public XStreamDOM unmarshalElement(com.thoughtworks.xstream.io.HierarchicalStreamReader r, com.thoughtworks.xstream.converters.UnmarshallingContext context)
-
-