Interface DomainProvider
-
- All Known Implementing Classes:
PDBDomainProvider
,RemoteDomainProvider
public interface DomainProvider
Decomposes a structure from the PDB into representative domains
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.SortedSet<java.lang.String>
getDomainNames(java.lang.String name)
Get a list of constituent domain identifiersjava.util.SortedSet<java.lang.String>
getRepresentativeDomains()
Get the full list of representative domains for the PDB.
-
-
-
Method Detail
-
getDomainNames
java.util.SortedSet<java.lang.String> getDomainNames(java.lang.String name) throws java.io.IOException, StructureException
Get a list of constituent domain identifiers- Parameters:
name
- a structure identifier- Returns:
- A list of domain names
- Throws:
java.io.IOException
- For IO errors getting the domainsStructureException
- For errors converting name to a valid identifier
-
getRepresentativeDomains
java.util.SortedSet<java.lang.String> getRepresentativeDomains() throws java.io.IOException
Get the full list of representative domains for the PDB. The exact definition representatives is implementation-specific, but should cover as many structures as possible.- Returns:
- A full list of all representative domains recognized by this provider
- Throws:
java.io.IOException
- For IO errors getting the representatives
-
-