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 -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvert(Class type) voidmarshal(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:
canConvertin 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:
marshalin 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:
unmarshalin interfacecom.thoughtworks.xstream.converters.Converter
-
unmarshalElement
public XStreamDOM unmarshalElement(com.thoughtworks.xstream.io.HierarchicalStreamReader r, com.thoughtworks.xstream.converters.UnmarshallingContext context)
-