|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.icl.saxon.om.DocumentPool
An object representing the collection of documents handled during a single transformation
Constructor Summary | |
DocumentPool()
|
Method Summary | |
int |
add(DocumentInfo doc,
java.lang.String name)
Add a document to the pool, and allocate a document number |
DocumentInfo |
find(java.lang.String name)
Get the document with a given name |
int |
getDocumentNumber(DocumentInfo doc)
Get the document number of a document that is already in the pool. |
int |
getNumberOfDocuments()
Get the number of documents in the pool |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DocumentPool()
Method Detail |
public int add(DocumentInfo doc, java.lang.String name)
doc
- The DocumentInfo for the document in questionname
- The name of the document. May be null, in the case of
the principal source document or a result tree fragment. Used for
the URI of a document loaded using the document() function.
public int getDocumentNumber(DocumentInfo doc)
public DocumentInfo find(java.lang.String name)
public int getNumberOfDocuments()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |