Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2002-2014 "Neo Technology," Network Engine for Objects in Lund AB [http://neotechnology.com] This file is part of Neo4j. Neo4j is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
 
 package org.neo4j.server.rest.repr;
 
 import java.net.URI;
 
 public abstract class Representation
 {
     // non-inlineable constants
     public static final String GRAPHDB = ..;
     public static final String INDEX = ..;
     public static final String NODE_INDEXES = ..;
     public static final String NODE = ..;
     public static final String NODE_LIST = ..;
     public static final String RELATIONSHIP = ..;
     public static final String RELATIONSHIP_LIST = ..;
     public static final String PATH = ..;
     public static final String PATH_LIST = ..;
     public static final String PROPERTIES_MAP = ..;
     public static final String EXTENSIONS_MAP = ..;
     public static final String EXTENSION = ..;
     public static final String URI = ..;
     public static final String URI_TEMPLATE = ..;
     public static final String STRING = ..;
     public static final String STRING_LIST = ..;
     public static final String BYTE = ..;
     public static final String BYTE_LIST = ..;
     public static final String CHARACTER = ..;
     public static final String CHARACTER_LIST = ..;
     public static final String SHORT = ..;
     public static final String SHORT_LIST = ..;
     public static final String INTEGER = ..;
     public static final String INTEGER_LIST = ..;
     public static final String LONG = ..;
     public static final String LONG_LIST = ..;
     public static final String FLOAT = ..;
     public static final String FLOAT_LIST = ..;
     public static final String DOUBLE = ..;
     public static final String DOUBLE_LIST = ..;
     public static final String BOOLEAN = ..;
     public static final String BOOLEAN_LIST = ..;
     public static final String EXCEPTION = ..;
     public static final String MAP = ..;
 
     final RepresentationType type;
 
     {
         this. = type;
     }
 
     RepresentationString type )
     {
         this. = new RepresentationTypetype );
     }
 
 	{
 		return this.;
 	}
 	
     abstract String serializeRepresentationFormat formatURI baseUri,
             ExtensionInjector extensions ) ;
 
     abstract void addToListSerializer serializer );
 
     abstract void putToMappingSerializer serializerString key );
 
     boolean isEmpty()
     {
         return false;
     }
 
     public static Representation emptyRepresentation()
     {
         return new Representation( (RepresentationTypenull )
         {
             @Override
             boolean isEmpty()
             {
                return true;
            }
            @Override
            String serializeRepresentationFormat formatURI baseUriExtensionInjector extensions )
            {
                return "";
            }
            @Override
            void putToMappingSerializer serializerString key )
            {
            }
            @Override
            void addToListSerializer serializer )
            {
            }
        };
    }
New to GrepCode? Check out our FAQ X