sk.uniba.euromath.document.schema.impl.export
Class ElementLocImpl

java.lang.Object
  extended by sk.uniba.euromath.document.schema.impl.export.ElementLocImpl
All Implemented Interfaces:
IElementLocP

public final class ElementLocImpl
extends Object
implements IElementLocP

Immutable instance, representing element locator. This element can be inserted amongst children of some element.

Author:
Martin Vysny

Constructor Summary
ElementLocImpl(sk.baka.ikslibs.ptr.DOMPoint ip, NameListImpl<INewElementRuleP> nameList)
          Constructs new instance and initialize it.
 
Method Summary
 boolean equals(Object o)
           
 sk.baka.ikslibs.ptr.DOMPoint getDOMPoint()
          Returns point, where the element can be inserted.
 INameListP<INewElementRuleP> getNameList()
          Returns namelist for element, that can be inserted at specified position.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementLocImpl

public ElementLocImpl(sk.baka.ikslibs.ptr.DOMPoint ip,
                      NameListImpl<INewElementRuleP> nameList)
Constructs new instance and initialize it.

Parameters:
ip - element can be inserted after this InsertPoint. This field may be InsertPoint.FIRST- element can be inserted before first node.
nameList - namelist for this element.
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getDOMPoint

public sk.baka.ikslibs.ptr.DOMPoint getDOMPoint()
Description copied from interface: IElementLocP
Returns point, where the element can be inserted.

Specified by:
getDOMPoint in interface IElementLocP
Returns:
point of insertion.

getNameList

public INameListP<INewElementRuleP> getNameList()
Description copied from interface: IElementLocP
Returns namelist for element, that can be inserted at specified position.

Specified by:
getNameList in interface IElementLocP
Returns:
the namelist of insertable qnames.

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003-2006 null. All Rights Reserved.