Package org.jvnet.basicjaxb.lang
Class JAXBCopyStrategy
java.lang.Object
org.jvnet.basicjaxb.lang.DefaultCopyStrategy
org.jvnet.basicjaxb.lang.JAXBCopyStrategy
- All Implemented Interfaces:
CopyStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectcopyInternal(ObjectLocator locator, jakarta.xml.bind.JAXBElement jaxbElement) protected ObjectcopyInternal(ObjectLocator locator, Object object) protected ObjectcopyInternal(ObjectLocator locator, List list) protected ObjectcopyInternal(ObjectLocator locator, Node node) static JAXBCopyStrategyprotected <T> Tobserve(String label, ObjectLocator locator, T obj) Observe an copy object and its locator.Methods inherited from class org.jvnet.basicjaxb.lang.DefaultCopyStrategy
buildMessage, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copyInternal, copyInternal, debug, getLogger, isDebugEnabled, isTraceEnabled, observe, shouldBeCopiedAndSet, trace
-
Constructor Details
-
JAXBCopyStrategy
public JAXBCopyStrategy()
-
-
Method Details
-
getInstance
-
observe
Observe an copy object and its locator. In TRACE mode, log the the entire object tree. In DEBUG mode, log the top level object, handle JAXBElement wrapped root.- Overrides:
observein classDefaultCopyStrategy- Type Parameters:
T- The observed object's type.- Parameters:
label- A prefix for the observation message.locator- The object locator.obj- The object to observe.- Returns:
- The original observed object.
-
copyInternal
- Overrides:
copyInternalin classDefaultCopyStrategy
-
copyInternal
-
copyInternal
-
copyInternal
-