Coverage Report - org.simpleframework.xml.strategy.Name
 
Classes in this File Line Coverage Branch Coverage Complexity
Name
N/A
N/A
0
 
 1  
 /*
 2  
  * Attributes.java January 2010
 3  
  *
 4  
  * Copyright (C) 2010, Niall Gallagher <niallg@users.sf.net>
 5  
  *
 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
 9  
  *
 10  
  *     http://www.apache.org/licenses/LICENSE-2.0
 11  
  *
 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.
 17  
  */
 18  
 
 19  
 package org.simpleframework.xml.strategy;
 20  
 
 21  
 /**
 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.
 27  
  * 
 28  
  * @author Niall Gallagher
 29  
  */
 30  
 interface Name {
 31  
    
 32  
    /**
 33  
     * The default name of the attribute used to identify an object.
 34  
     */
 35  
    public static final String MARK = "id";
 36  
    
 37  
    /**
 38  
     * The default name of the attribute used for circular references.
 39  
     */
 40  
    public static final String REFER = "reference";
 41  
    
 42  
    /**
 43  
     * The default name of the attribute used to specify the length.
 44  
     */
 45  
    public static final String LENGTH = "length";
 46  
    
 47  
    /**
 48  
     * The default name of the attribute used to specify the class.
 49  
     */
 50  
    public static final String LABEL = "class"; 
 51  
 }