getFragment(String name) Gets the fragment matching (using regular expressions) the specified name.
Parameters: name - the name of the fragment to retrieve.
Gets the "translated" value of this Fragment if it exists. That is, it retrieves the fragment body for the name
of this fragment and replaces any fragment references with other fragment bodies (if they exist)
Parameters: name - the name of the fragment. Parameters: kind - the kind of the fragment. String the translated body of the fragment kind.
isIgnorePattern
public boolean isIgnorePattern(String pattern)(Code)
Checks to see if the pattern is an ignore pattern. What this means is that if if this pattern matches on a
regular expression found in the collection of ignore patterns then the TranslationLibrary won't complain if it
doesn't match a fragment name.
Parameters: pattern - boolean true if its an ignore pattern, false otherwise.