| java.lang.Object org.umlgraph.doclet.ContextMatcher
ContextMatcher | public class ContextMatcher implements ClassMatcher(Code) | | Matches classes that are directly connected to one of the classes matched by
the regual expression specified. The context center is computed by regex
lookup. Depending on the specified Options, inferred relations and
dependencies will be used as well.
This class needs to perform quite a bit of computations in order to gather
the network of class releationships, so you are allowed to reuse it should
you
author: wolf |
keepParentHide | boolean keepParentHide(Code) | | |
ContextMatcher | public ContextMatcher(RootDoc root, Pattern pattern, Options options, boolean keepParentHide) throws IOException(Code) | | Builds the context matcher
Parameters: root - The root doc returned by JavaDoc Parameters: pattern - The pattern that will match the "center" of thiscontext Parameters: opt - The options will be used to decide on inference Parameters: keepParentHide - If true, parent option hide patterns will bepreserved, so that classes hidden by the options won'tbe shown in the context Parameters: fullContext - If true, all the classes related to the contextcenter will be included, otherwise it will match onlythe classes referred with an outgoing relation fromthe context center throws: IOException - |
setContextCenter | public void setContextCenter(Pattern pattern)(Code) | | Can be used to setup a different pattern for this context matcher.
This can be used to speed up subsequent matching with the same global
options, since the class network informations will be reused.
Parameters: pattern - |
|
|