Interface EffectiveNodeTypeProvider
-
- All Known Implementing Classes:
NodeTypeRegistryImpl
public interface EffectiveNodeTypeProvider
EffectiveNodeTypeProvider
...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EffectiveNodeType
getEffectiveNodeType(Name ntName)
Build theEffectiveNodeType
from the givenNodeType
name.EffectiveNodeType
getEffectiveNodeType(Name[] ntNames)
Build theEffectiveNodeType
from the given array ofNodeType
names.EffectiveNodeType
getEffectiveNodeType(Name[] ntNames, Map<Name,QNodeTypeDefinition> ntdMap)
EffectiveNodeType
getEffectiveNodeType(QNodeTypeDefinition ntd, Map<Name,QNodeTypeDefinition> ntdMap)
Builds an effective node type representation from the given node type definition.
-
-
-
Method Detail
-
getEffectiveNodeType
EffectiveNodeType getEffectiveNodeType(Name ntName) throws NoSuchNodeTypeException
Build theEffectiveNodeType
from the givenNodeType
name.- Parameters:
ntName
-- Returns:
- Throws:
NoSuchNodeTypeException
-
getEffectiveNodeType
EffectiveNodeType getEffectiveNodeType(Name[] ntNames) throws ConstraintViolationException, NoSuchNodeTypeException
Build theEffectiveNodeType
from the given array ofNodeType
names.- Parameters:
ntNames
-- Returns:
- Throws:
ConstraintViolationException
NoSuchNodeTypeException
-
getEffectiveNodeType
EffectiveNodeType getEffectiveNodeType(Name[] ntNames, Map<Name,QNodeTypeDefinition> ntdMap) throws ConstraintViolationException, NoSuchNodeTypeException
- Parameters:
ntNames
-ntdMap
-- Returns:
- Throws:
ConstraintViolationException
NoSuchNodeTypeException
-
getEffectiveNodeType
EffectiveNodeType getEffectiveNodeType(QNodeTypeDefinition ntd, Map<Name,QNodeTypeDefinition> ntdMap) throws ConstraintViolationException, NoSuchNodeTypeException
Builds an effective node type representation from the given node type definition. Whereas all referenced node types must exist (i.e. must be present in the specified map), the definition itself is not required to be registered.- Parameters:
ntd
-ntdMap
-- Returns:
- Throws:
ConstraintViolationException
NoSuchNodeTypeException
-
-