com.nesstar.api
Interface ComplexDdiElement

All Superinterfaces:
DdiElement, NesstarBankObject, NesstarObject
All Known Subinterfaces:
Category, Question, Study, Variable, VariableGroup

public interface ComplexDdiElement
extends DdiElement, NesstarBankObject

Represents a DDI element with attributes and/or subelements.

Since:
0.1

Method Summary
 DdiElement getElement(String path)
          Returns a subelement of this element.
 
Methods inherited from interface com.nesstar.api.NesstarObject
getId, getLabel, getTimeStamp, reload, toURI
 

Method Detail

getElement

DdiElement getElement(String path)
                      throws NotAuthorizedException,
                             XPathExpressionException,
                             IOException
Returns a subelement of this element.

Parameters:
path - An XPath String representing the path from this element to the desired one, e.g. ./docDscr/citation/titlStmt/titl, ./docDscr/citation/verStmt/version/@date or ./qstn/qstnLit
Returns:
A DdiElement, possibly a DdiList
Throws:
NotAuthorizedException - If access was denied by the Nesstar server
XPathExpressionException - If there was an error in the XPath expression
IOException - If there was an error while communicating with the server


Copyright © 2011, NSD All rights reserved