001/* 002 * Licensed to the Apache Software Foundation (ASF) under one or more 003 * contributor license agreements. See the NOTICE file distributed with 004 * this work for additional information regarding copyright ownership. 005 * The ASF licenses this file to You under the Apache license, Version 2.0 006 * (the "License"); you may not use this file except in compliance with 007 * the License. You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 014 * See the license for the specific language governing permissions and 015 * limitations under the license. 016 */ 017package org.apache.logging.log4j.core.jackson; 018 019/** 020 * Keeps constants separate from any class that may depend on third party jars. 021 */ 022public final class XmlConstants { 023 public static final String ELT_CAUSE = "Cause"; 024 public static final String ELT_CONTEXT_MAP = "ContextMap"; 025 public static final String ELT_CONTEXT_STACK = "ContextStack"; 026 public static final String ELT_CONTEXT_STACK_ITEM = "ContextStackItem"; 027 public static final String ELT_EVENT = "Event"; 028 public static final String ELT_EXTENDED_STACK_TRACE = "ExtendedStackTrace"; 029 public static final String ELT_EXTENDED_STACK_TRACE_ITEM = "ExtendedStackTraceItem"; 030 public static final String ELT_TIME_MILLIS = "TimeMillis"; 031 public static final String ELT_INSTANT = "Instant"; 032 public static final String ELT_MARKER = "Marker"; 033 public static final String ELT_MESSAGE = "Message"; 034 public static final String ELT_PARENTS = "Parents"; 035 public static final String ELT_SOURCE = "Source"; 036 public static final String ELT_SUPPRESSED = "Suppressed"; 037 public static final String ELT_SUPPRESSED_ITEM = "SuppressedItem"; 038 public static final String ELT_THROWN = "Thrown"; 039 public static final String XML_NAMESPACE = "http://logging.apache.org/log4j/2.0/events"; 040}