blob: 07252ca4ca7cec2c58ede4787f0bd1ff792a6b61 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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 org.apache.axiom.core;
final class Flags {
private Flags() {}
/**
* Defines the bit mask for the part of the flags that indicate the state of a
* {@link CoreParentNode}.
*/
static final int STATE_MASK = 3;
/**
* Used by {@link CoreChildNode} instances to indicate whether the node has a parent or not.
* This is necessary to interpret the meaning of the <code>owner</code> attribute if it refers
* to a document node (which may be the parent or simply the owner document).
*/
static final int HAS_PARENT = 4;
static final int DEFAULT_ATTR = 8;
/**
* Used to store the information returned by {@link CoreCharacterDataNode#coreIsIgnorable()}.
*/
static final int IGNORABLE = 16;
}