org.newsml.toolkit
Interface DefaultVocabularyFor

All Superinterfaces:
BaseNode, IdNode

public interface DefaultVocabularyFor
extends BaseNode, IdNode

A default vocabulary declaration.

This class represents a default vocabulary for all formal names that occur in markup matching the XPath expression provided by the getContext() method.

Version:
1.0
Author:
Reuters PLC

Method Summary
 java.lang.String getContext()
          Get the XPath expression to match.
 java.lang.String getScheme()
          Get the scheme to be applied to any matches.
 
Methods inherited from interface org.newsml.toolkit.BaseNode
getSession, getXMLName
 
Methods inherited from interface org.newsml.toolkit.IdNode
getDuid, getEuid
 

Method Detail

getContext

public java.lang.String getContext()
Get the XPath expression to match.
Returns:
A relative XPath expression as a string (not null).

getScheme

public java.lang.String getScheme()
Get the scheme to be applied to any matches.
Returns:
The scheme as a string, or null if none was provided.