|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.repository.search.indexing.ItemAndSpecifierStack
public class ItemAndSpecifierStack
A class that manages a stack of item and specifiers. Extended by Context.
Created: March 28 2005
Context
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
ItemAndSpecifierStack()
|
Method Summary | |
---|---|
void |
clearParents()
Clear the stack of parent items |
void |
copyFrom(ItemAndSpecifierStack pItemAndSpecifierStack)
Copy from the specified item, setting our contents to be the same as its. |
int |
getAncestorCount()
Return the number of parents/ancestors. |
RepositoryItem |
getNthAncestor(int pIndex)
Return the Nth ancestor. |
atg.repository.search.indexing.ItemAndSpecifier |
getNthAncestorItemAndSpecifier(int pIndex)
Return the Nth ancestor ItemAndSpecifier. |
RepositoryItem |
getParent()
A convenience method to getting your parent accessor. |
boolean |
isInDocument()
Whether we are in a document. |
atg.repository.search.indexing.ItemAndSpecifier |
popParent()
Pop off a parent. |
void |
pushParent(atg.repository.search.indexing.ItemAndSpecifier pItemAndSpec)
Push a parent item. |
void |
pushParent(RepositoryItem pItem,
atg.repository.search.indexing.specifier.OutputItemSpecifier pItemSpec)
Push a parent item. |
java.lang.String |
toString()
Add a debugging toString method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ItemAndSpecifierStack()
Method Detail |
---|
public int getAncestorCount()
public boolean isInDocument()
public RepositoryItem getNthAncestor(int pIndex)
public atg.repository.search.indexing.ItemAndSpecifier getNthAncestorItemAndSpecifier(int pIndex)
public RepositoryItem getParent()
public void pushParent(RepositoryItem pItem, atg.repository.search.indexing.specifier.OutputItemSpecifier pItemSpec)
public void pushParent(atg.repository.search.indexing.ItemAndSpecifier pItemAndSpec)
public atg.repository.search.indexing.ItemAndSpecifier popParent()
public java.lang.String toString()
toString
in class java.lang.Object
public void copyFrom(ItemAndSpecifierStack pItemAndSpecifierStack)
pItemAndSpecifierStack
- the object from which to copy.public void clearParents()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |