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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canConvert
(Class type) void
marshal
(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter w, com.thoughtworks.xstream.converters.MarshallingContext context) unmarshal
(com.thoughtworks.xstream.io.HierarchicalStreamReader r, com.thoughtworks.xstream.converters.UnmarshallingContext context) Unmarshals a single child element.unmarshalElement
(com.thoughtworks.xstream.io.HierarchicalStreamReader r, com.thoughtworks.xstream.converters.UnmarshallingContext context)
-
Constructor Details
-
ConverterImpl
public ConverterImpl()
-
-
Method Details
-
canConvert
- 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)
-