2
* Attributes.java January 2010
4
* Copyright (C) 2010, Niall Gallagher <niallg@users.sf.net>
6
* Licensed under the Apache License, Version 2.0 (the "License");
7
* you may not use this file except in compliance with the License.
8
* You may obtain a copy of the License at
10
* http://www.apache.org/licenses/LICENSE-2.0
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS,
14
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
* implied. See the License for the specific language governing
16
* permissions and limitations under the License.
19
package org.simpleframework.xml.strategy;
22
* This contains the default attribute names to use to populate the
23
* XML elements with data relating to the object to be serialized.
24
* Various details, such as the class name of an object need to be
25
* written to the element in order for it to be deserialized. Such
26
* attribute names are shared between strategy implementations.
28
* @author Niall Gallagher
33
* The default name of the attribute used to identify an object.
35
public static final String MARK = "id";
38
* The default name of the attribute used for circular references.
40
public static final String REFER = "reference";
43
* The default name of the attribute used to specify the length.
45
public static final String LENGTH = "length";
48
* The default name of the attribute used to specify the class.
50
public static final String LABEL = "class";