1f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov/** 2f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov * Copyright (c) 2008, http://www.snakeyaml.org 3f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov * 4f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov * Licensed under the Apache License, Version 2.0 (the "License"); 5f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov * you may not use this file except in compliance with the License. 6f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov * You may obtain a copy of the License at 7f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov * 8f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov * http://www.apache.org/licenses/LICENSE-2.0 9f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov * 10f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov * Unless required by applicable law or agreed to in writing, software 11f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov * distributed under the License is distributed on an "AS IS" BASIS, 12f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov * See the License for the specific language governing permissions and 14f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov * limitations under the License. 15f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov */ 16f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somovpackage org.yaml.snakeyaml.serializer; 17f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov 18f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somovimport org.yaml.snakeyaml.nodes.Node; 19f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov 20f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somovpublic interface AnchorGenerator { 21f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov 22f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov String nextAnchor(Node node); 23f5d32ad9b0c188f534f341555e24a6ec905ddd2cAndrey Somov} 24