This code USES the private methods to retrieve an object from the pool and call the provided delegate.
该代码使用私有方法从池中检索对象,并且调用所提供的委托。
To simplify the process of creating the markup language, the Delegate class has the job of crafting the actual HTML code.
为了简化创建标记语言的过程,delegate类负责生成实际的HTML代码。
Instead of using regular expressions to rewrite public URIs onto private ones, Ranvier implements a chain-of-responsibility design pattern to delegate resource determination to relevant code.
Ranvier并不使用正则表达式把公共uri重写成私有uri,而是实现责任链(chain - of - responsibility)设计模式,把资源判断任务委托给相关代码。
应用推荐