Class JacksonFactory
- java.lang.Object
-
- org.apache.logging.log4j.core.layout.JacksonFactory
-
- Direct Known Subclasses:
JacksonFactory.JSON,JacksonFactory.XML,JacksonFactory.YAML
abstract class JacksonFactory extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classJacksonFactory.JSON(package private) static classJacksonFactory.Log4jXmlPrettyPrinterWhen <Event>s are written into a XML file; the "Event" object is not the root element, but an element named <Events> created usingXmlLayout.getHeader()andXmlLayout.getFooter()methods.(package private) static classJacksonFactory.XML(package private) static classJacksonFactory.YAML
-
Constructor Summary
Constructors Constructor Description JacksonFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.StringgetPropertNameForContextMap()protected abstract java.lang.StringgetPropertNameForNanoTime()protected abstract java.lang.StringgetPropertNameForSource()protected abstract java.lang.StringgetPropertyNameForInstant()protected abstract java.lang.StringgetPropertyNameForTimeMillis()protected abstract com.fasterxml.jackson.core.PrettyPrinternewCompactPrinter()protected abstract com.fasterxml.jackson.databind.ObjectMappernewObjectMapper()protected abstract com.fasterxml.jackson.core.PrettyPrinternewPrettyPrinter()(package private) com.fasterxml.jackson.databind.ObjectWriternewWriter(boolean locationInfo, boolean properties, boolean compact)(package private) com.fasterxml.jackson.databind.ObjectWriternewWriter(boolean locationInfo, boolean properties, boolean compact, boolean includeMillis)
-
-
-
Method Detail
-
getPropertyNameForTimeMillis
protected abstract java.lang.String getPropertyNameForTimeMillis()
-
getPropertyNameForInstant
protected abstract java.lang.String getPropertyNameForInstant()
-
getPropertNameForContextMap
protected abstract java.lang.String getPropertNameForContextMap()
-
getPropertNameForSource
protected abstract java.lang.String getPropertNameForSource()
-
getPropertNameForNanoTime
protected abstract java.lang.String getPropertNameForNanoTime()
-
newCompactPrinter
protected abstract com.fasterxml.jackson.core.PrettyPrinter newCompactPrinter()
-
newObjectMapper
protected abstract com.fasterxml.jackson.databind.ObjectMapper newObjectMapper()
-
newPrettyPrinter
protected abstract com.fasterxml.jackson.core.PrettyPrinter newPrettyPrinter()
-
newWriter
com.fasterxml.jackson.databind.ObjectWriter newWriter(boolean locationInfo, boolean properties, boolean compact)
-
newWriter
com.fasterxml.jackson.databind.ObjectWriter newWriter(boolean locationInfo, boolean properties, boolean compact, boolean includeMillis)
-
-