org.apache.manifoldcf.crawler.interfaces
Class DocumentSpecification

java.lang.Object
  extended by org.apache.manifoldcf.core.interfaces.Configuration
      extended by org.apache.manifoldcf.core.interfaces.Specification
          extended by org.apache.manifoldcf.crawler.interfaces.DocumentSpecification
All Implemented Interfaces:
IHierarchyParent

public class DocumentSpecification
extends Specification

This class represents a document specification, which is a generalized hierarchy of nodes that can be interpreted by a repository connector in an appropriate way.


Field Summary
static java.lang.String _rcsid
           
 
Fields inherited from class org.apache.manifoldcf.core.interfaces.Configuration
children, JSON_ATTRIBUTE, JSON_CHILDREN, JSON_TYPE, JSON_VALUE, readOnly, rootNodeLabel
 
Constructor Summary
DocumentSpecification()
          Constructor.
DocumentSpecification(java.lang.String xml)
          Construct from XML.
 
Method Summary
 DocumentSpecification duplicate(boolean readOnly)
          Duplicate.
 
Methods inherited from class org.apache.manifoldcf.core.interfaces.Specification
createNew, createNewNode, getChild
 
Methods inherited from class org.apache.manifoldcf.core.interfaces.Configuration
addChild, addOuterNode, clearChildren, clearOuterNodes, createDuplicate, equals, findChild, fromJSON, fromXML, fromXML, getChildCount, hashCode, initializeFromDoc, makeReadOnly, processObject, processObject, readNode, readNode, removeChild, removeOuterNode, toJSON, toXML, writeNode, writeNode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_rcsid

public static final java.lang.String _rcsid
See Also:
Constant Field Values
Constructor Detail

DocumentSpecification

public DocumentSpecification()
Constructor.


DocumentSpecification

public DocumentSpecification(java.lang.String xml)
                      throws ManifoldCFException
Construct from XML.

Parameters:
xml - is the input XML.
Throws:
ManifoldCFException
Method Detail

duplicate

public DocumentSpecification duplicate(boolean readOnly)
Duplicate.

Returns:
an exact duplicate