sk.uniba.euromath.document.schema.plug
Interface IForeignNodeP

All Known Subinterfaces:
IAttributeRuleP, INameListP<R>, INewElementRuleP
All Known Implementing Classes:
AttributeRuleImpl, NameListImpl, NewElementRuleImpl

public interface IForeignNodeP

Functionality to return information which foreign qname is the rule able to accept/generate.

Author:
Martin Vysny

Method Summary
 boolean acceptsNamespace(String namespaceURI)
          Checks if the namelist accepts/contains at least one qname from given namespace.
 Set<String> getNamespaces()
          Tries to obtain a list of namespaces of qnames that are contained in this name list.
 

Method Detail

getNamespaces

Set<String> getNamespaces()
Tries to obtain a list of namespaces of qnames that are contained in this name list. If the set cannot be computed (or it would be infinite) then return null.

Returns:
namespaces of items contained in the namelist, or null if it cannot be computed and/or represented. null namespace is represented as an empty string.

acceptsNamespace

boolean acceptsNamespace(String namespaceURI)
Checks if the namelist accepts/contains at least one qname from given namespace.

Parameters:
namespaceURI - the namespace to check.
Returns:
true if the namelist accepts at least one qname with given namespace.


Copyright © 2003-2006 null. All Rights Reserved.