public class InheritanceModel extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InheritanceModel.Node<T>
Inheritance model node.
|
Constructor and Description |
---|
InheritanceModel(Modules modules)
Creates a new
InheritanceModel instance. |
Modifier and Type | Method and Description |
---|---|
Set<InheritanceModel.Node<ImplementationReference>> |
getCycleNodes(String implementation)
Gets a set holding implementation reference nodes of an implementation causing a cycle.
|
Set<String> |
getDependencyNames(String implementation)
Gets a set holding the names of all dependencies of an implementation.
|
Set<InheritanceModel.Node<Dependency>> |
getDependencyNodes(String implementation,
String name)
Gets a set holding effective dependency nodes of an implementation.
|
Set<String> |
getImplementationReferenceIdentifiers(String implementation)
Gets a set holding the identifiers of all implementation references of an implementation.
|
Set<InheritanceModel.Node<ImplementationReference>> |
getImplementationReferenceNodes(String implementation,
String identifier)
Gets a set holding effective implementation reference nodes of an implementation.
|
Set<QName> |
getJaxbElementNames(String implementation)
Gets a set holding the qualified names of all XML elements of an implementation.
|
Set<InheritanceModel.Node<javax.xml.bind.JAXBElement<?>>> |
getJaxbElementNodes(String implementation,
QName name)
Gets a set holding effective JAXB element nodes of an implementation.
|
Set<String> |
getMessageNames(String implementation)
Gets a set holding the names of all messages of an implementation.
|
Set<InheritanceModel.Node<Message>> |
getMessageNodes(String implementation,
String name)
Gets a set holding effective message nodes of an implementation.
|
Set<String> |
getPropertyNames(String implementation)
Gets a set holding the names of all properties of an implementation.
|
Set<InheritanceModel.Node<Property>> |
getPropertyNodes(String implementation,
String name)
Gets a set holding effective property nodes of an implementation.
|
Set<InheritanceModel.Node<Implementation>> |
getSourceNodes(String implementation)
Gets a set holding source nodes of an implementation.
|
Set<String> |
getSpecificationReferenceIdentifiers(String implementation)
Gets a set holding the identifiers of all specification references of an implementation.
|
Set<InheritanceModel.Node<SpecificationReference>> |
getSpecificationReferenceNodes(String implementation,
String identifier)
Gets a set holding effective specification reference nodes of an implementation.
|
Set<QName> |
getXmlElementNames(String implementation)
Gets a set holding the qualified names of all XML elements of an implementation.
|
Set<InheritanceModel.Node<Element>> |
getXmlElementNodes(String implementation,
QName name)
Gets a set holding effective XML element nodes of an implementation.
|
public InheritanceModel(Modules modules)
InheritanceModel
instance.modules
- The modules backing the model.NullPointerException
- if modules
is null
.Modules.clone()
public Set<InheritanceModel.Node<Implementation>> getSourceNodes(String implementation)
implementation
- The identifier of the implementation to get source nodes of.implementation
.NullPointerException
- if implementation
is null
.InheritanceModel.Node.getDescendant()
public Set<InheritanceModel.Node<ImplementationReference>> getCycleNodes(String implementation)
implementation
- The identifier of the implementation to get implementation reference nodes causing a cycle
of.implementation
causing a cycle.NullPointerException
- if implementation
is null
.InheritanceModel.Node.getPath()
public Set<String> getDependencyNames(String implementation)
implementation
- The identifier of the implementation to get the names of all dependencies of.implementation
.NullPointerException
- if implementation
is null
.public Set<InheritanceModel.Node<Dependency>> getDependencyNodes(String implementation, String name)
implementation
- The identifier of the implementation to get effective dependency nodes of.name
- The dependency name to get effective nodes for.name
of the implementation
identified by implementation
.NullPointerException
- if implementation
or name
is null
.getDependencyNames(java.lang.String)
public Set<String> getImplementationReferenceIdentifiers(String implementation)
implementation
- The identifier of the implementation to get the identifiers of all implementation
references of.implementation
.NullPointerException
- if implementation
is null
.public Set<InheritanceModel.Node<ImplementationReference>> getImplementationReferenceNodes(String implementation, String identifier)
implementation
- The identifier of the implementation to get effective implementation reference nodes of.identifier
- The implementation reference identifier to get effective nodes for.identifier
of the
implementation identified by implementation
.NullPointerException
- if implementation
or identifier
is null
.getImplementationReferenceIdentifiers(java.lang.String)
public Set<QName> getJaxbElementNames(String implementation)
implementation
- The identifier of the implementation to get the qualified names of all XML elements of.implementation
.NullPointerException
- if implementation
is null
.public Set<InheritanceModel.Node<javax.xml.bind.JAXBElement<?>>> getJaxbElementNodes(String implementation, QName name)
implementation
- The identifier of the implementation to get effective JAXB element nodes of.name
- The qualified JAXB element name to get effective nodes for.name
of the implementation
identified by implementation
.NullPointerException
- if implementation
or name
is null
.getJaxbElementNames(java.lang.String)
public Set<String> getMessageNames(String implementation)
implementation
- The identifier of the implementation to get the names of all messages of.implementation
.NullPointerException
- if implementation
is null
.public Set<InheritanceModel.Node<Message>> getMessageNodes(String implementation, String name)
implementation
- The identifier of the implementation to get effective message nodes of.name
- The message name to get effective nodes for.name
of the implementation
identified by implementation
.NullPointerException
- if implementation
or name
is null
.getMessageNames(java.lang.String)
public Set<String> getPropertyNames(String implementation)
implementation
- The identifier of the implementation to get the names of all properties of.implementation
.NullPointerException
- if implementation
is null
.public Set<InheritanceModel.Node<Property>> getPropertyNodes(String implementation, String name)
implementation
- The identifier of the implementation to get effective property nodes of.name
- The property name to get effective nodes for.name
of the implementation
identified by implementation
.NullPointerException
- if implementation
or name
is null
.getPropertyNames(java.lang.String)
public Set<String> getSpecificationReferenceIdentifiers(String implementation)
implementation
- The identifier of the implementation to get the identifiers of all specification references
of.implementation
.NullPointerException
- if implementation
is null
.public Set<InheritanceModel.Node<SpecificationReference>> getSpecificationReferenceNodes(String implementation, String identifier)
implementation
- The identifier of the implementation to get effective specification reference nodes of.identifier
- The specification reference identifier to get effective nodes for.identifier
of the
implementation identified by implementation
.NullPointerException
- if implementation
or identifier
is null
.getSpecificationReferenceIdentifiers(java.lang.String)
public Set<QName> getXmlElementNames(String implementation)
implementation
- The identifier of the implementation to get the qualified names of all XML elements of.implementation
.NullPointerException
- if implementation
is null
.public Set<InheritanceModel.Node<Element>> getXmlElementNodes(String implementation, QName name)
implementation
- The identifier of the implementation to get effective XML element nodes of.name
- The qualified XML element name to get effective nodes for.name
of the implementation
identified by implementation
.NullPointerException
- if implementation
or name
is null
.getXmlElementNames(java.lang.String)
Copyright © 2005–2016 The JOMC Project. All rights reserved.