com.japisoft.xmlpad.helper
Class SchemaNode

java.lang.Object
  extended bycom.japisoft.xmlpad.helper.SchemaNode

public class SchemaNode
extends java.lang.Object

This is an inner structure for the schema content helper

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Field Summary
 TagDescriptor element
           
static int ELEMENT
           
static int EMPTY
           
 boolean marked
           
 boolean marked2
           
 java.lang.String namespace
           
 java.util.ArrayList next
           
static int OP_AND
           
static int OP_OR
           
 SchemaNode parent
           
static int ROOT
           
 int type
           
 
Constructor Summary
SchemaNode(int type)
           
SchemaNode(TagDescriptor element)
           
 
Method Summary
 void addNext(SchemaNode node)
           
 java.lang.Object clone()
           
 void dump()
           
 SchemaNode getParent()
           
 SchemaNode getSchemaNode(int index)
           
 int getSchemaNodeCount()
           
 boolean isElement()
           
 boolean isOpAND()
           
 boolean isOpOR()
           
 boolean isRoot()
           
 boolean isSigma()
           
 SchemaNode nextSibling()
           
 void removeNext(SchemaNode node)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public int type

element

public TagDescriptor element

next

public java.util.ArrayList next

marked

public boolean marked

marked2

public boolean marked2

namespace

public java.lang.String namespace

parent

public SchemaNode parent

ELEMENT

public static final int ELEMENT
See Also:
Constant Field Values

EMPTY

public static final int EMPTY
See Also:
Constant Field Values

ROOT

public static final int ROOT
See Also:
Constant Field Values

OP_OR

public static final int OP_OR
See Also:
Constant Field Values

OP_AND

public static final int OP_AND
See Also:
Constant Field Values
Constructor Detail

SchemaNode

public SchemaNode(int type)

SchemaNode

public SchemaNode(TagDescriptor element)
Method Detail

addNext

public void addNext(SchemaNode node)

removeNext

public void removeNext(SchemaNode node)

nextSibling

public SchemaNode nextSibling()

getParent

public SchemaNode getParent()

getSchemaNodeCount

public int getSchemaNodeCount()

getSchemaNode

public SchemaNode getSchemaNode(int index)

isSigma

public boolean isSigma()

isRoot

public boolean isRoot()

isOpAND

public boolean isOpAND()

isOpOR

public boolean isOpOR()

isElement

public boolean isElement()

dump

public void dump()

toString

public java.lang.String toString()

clone

public java.lang.Object clone()


Copyright © 2006 JAPISoft. All Rights Reserved.