All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fasterxml.aalto.util.NameTable Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
/* Woodstox Lite ("wool") XML processor
 *
 * Copyright (c) 2006- Tatu Saloranta, [email protected]
 *
 * Licensed under the License specified in the file LICENSE which is
 * included with the source code.
 * You may not use this file except in compliance with the License.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.fasterxml.aalto.util;

/**
 * This class defines the basic high-level interface for symbol table
 * implementations, especially regarding how they are obtained and
 * reused. Most of actual use functionality is in sub-classes, since
 * access details depend on how symbols are handled at low level.
 */
public abstract class NameTable
{
    protected NameTable() { }

    public abstract int size();

    /**
     * Method called to check to quickly see if a child symbol table
     * may have gotten additional entries. Used for checking to see
     * if a child table should be merged into shared table.
     */
    public abstract boolean maybeDirty();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy