⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cocoon.pr

📁 java操作xml文件的各种代码
💻 PR
📖 第 1 页 / 共 2 页
字号:
#### !!!!WARNING!!!! ############ The DCP processor should be considered -deprecated- and we highly suggest# you to convert all of your DCP stuff into XSP pages that, in the future,# will totally replace DCP.## Dynamic Content Processor (DCP)processor.type.dcp = org.apache.cocoon.processor.dcp.DCPProcessor############################################################################ XML Formatters                         ############################################ This is used when no <?cocoon?> PI is present to indicate# which MIME type to associate to the document.# NOTE: this type must present in the map below.formatter.default = text/html# These are used when the <?cocoon-format type="xxx/yyy"?> PI is present# The syntax for this is#   formatter.type.xxx/yyy = full.class.name# Full configurable formatters###############################formatter.type.text/html        = org.apache.cocoon.formatter.HTMLFormatterformatter.type.text/html/loose  = org.apache.cocoon.formatter.HTMLFormatterformatter.type.text/xhtml       = org.apache.cocoon.formatter.XHTMLFormatterformatter.type.text/xhtml/loose = org.apache.cocoon.formatter.XHTMLFormatterformatter.type.text/xml         = org.apache.cocoon.formatter.XMLFormatterformatter.type.text/wml         = org.apache.cocoon.formatter.XMLFormatterformatter.type.text/plain       = org.apache.cocoon.formatter.TextFormatterformatter.type.model/vrml       = org.apache.cocoon.formatter.TextFormatterformatter.type.text/xslfo       = org.apache.cocoon.formatter.FO2PDFFormatterformatter.type.application/smil = org.apache.cocoon.formatter.XMLFormatterformatter.type.image/svg-xml    = org.apache.cocoon.formatter.XMLFormatter# You can modify the formatter's behavior by adding the following configurations# for each formatter you want to specifize. Note that even if two formatters# share the same class, they are will be seen as different entities, accessed# only by their types.##   formatter.[type].MIME-type      = [formatter MIME type]#   formatter.[type].encoding       = [encoding type]#   formatter.[type].doctype-public = [public identifier]#   formatter.[type].doctype-system = [system identifier]#   formatter.[type].preserve-space = [whether to preserve space or not]#   formatter.[type].line-width     = [page width, wrapping column]#   formatter.[type].indent         = [numbers of spaces for tag indenting]# HTML 4.0 (strict)formatter.text/html.doctype-public = -//W3C//DTD HTML 4.0//ENformatter.text/html.doctype-system = http://www.w3.org/TR/REC-html40/strict.dtd# XHTML 1.0 (strict)formatter.text/xhtml.doctype-public = -//W3C//DTD XHTML 1.0 Strict//ENformatter.text/xhtml.doctype-system = xhtml1-strict.dtd# WML 1.1formatter.text/wml.doctype-public = -//WAPFORUM//DTD WML 1.1//ENformatter.text/wml.doctype-system = http://www.wapforum.org/DTD/wml_1.1.xmlformatter.text/wml.encoding = iso-8859-1formatter.text/wml.MIME-type = text/vnd.wap.wml# VRML 97formatter.model/vrml.MIME-type = model/vrml# PDFformatter.text/xslfo.MIME-type = application/pdf# HTML 4.0 (transitional)formatter.text/html/loose.doctype-public = -//W3C//DTD HTML 4.0 Transitional//ENformatter.text/html/loose.doctype-system = http://www.w3.org/TR/REC-html40/loose.dtdformatter.text/html/loose.preserve-space = trueformatter.text/html/loose.encoding = UTF-8formatter.text/html/loose.indent = 1formatter.text/html/loose.line-width = 120formatter.text/html/loose.MIME-type = text/html# XHTML 1.0 (transitional)formatter.text/xhtml/loose.doctype-public = -//W3C//DTD XHTML 1.0 Transitional//ENformatter.text/xhtml/loose.doctype-system = xhtml1-transitional.dtd# SMILformatter.application/smil.doctype-public = -//W3C//DTD SMIL 1.0//ENformatter.application/smil.doctype-system = http://www.w3.org/TR/REC-smil/SMIL10.dtdformatter.application/smil.MIME-type = application/smil# SVG (20000303 WD)formatter.image/svg-xml.doctype-public = -//W3C//DTD SVG 20000303 Stylable//ENformatter.image/svg-xml.doctype-system = http://www.w3.org/TR/2000/03/WD-SVG-20000303/formatter.image/svg-xml.MIME-type = image/svg-xml########################################### Cache Managers                         ############################################ the default cachecache = org.apache.cocoon.cache.CocoonCache#uncomment this to disable ALL page caching#cache = org.apache.cocoon.cache.NoCache#Change this to false to disable all Last-Modified headers#This will also disable client-side and proxy caching, but not Cocoon#internal caching.#Content that is not cached by Cocoon will not have a Last-Modified header.lastmodified = true#NOTE: See also the next set of options. The CocoonCache is implemented by#the Store.########################################### Object Storage Systems                 ############################################ the default object storagestore = org.apache.cocoon.store.MemoryStore# Indicates how much free memory should always be available to the JVM. (in bytes)# Here, 1M.store.freememory = 1000000# Indicates the sleeping time for the background checking thread (in seconds)store.interval = 10# Indicates the thread priority (1-10: 10 is maximum, 1 is minimum)store.threadpriority = 10# Uncomment this to disable the background thread that manages the store# overflow.# WARNING: Disabling this may result in intermittent OutOfMemoryErrors.#store.usethread = false# Soft maximum heap size. Cocoon will try to aggressively flush its store# to stay not too far above this limit.# To change the absolute maximum, consult your JDK tool documentation.# here, 15M or close to it anywaystore.heapsize = 15000000########################################### Language Interpreters                  ############################################ These are used by the DCP Processorinterpreter.type.java = org.apache.cocoon.interpreter.java.JavaInterpreter#interpreter.type.ecmascript = org.apache.cocoon.interpreter.ecmascript.EcmaScriptInterpreter#interpreter.type.javascript = org.apache.cocoon.interpreter.ecmascript.EcmaScriptInterpreter# Indicates the default language if not specified in the DCP PIsinterpreter.default = java# NOTE: see the DCP user guide for instructions on using ecmascript and the# packages required for this operation.########################################### User Agents (Browsers)                 ############################################ NOTE: numbers indicate the search order. This is VERY VERY IMPORTANT since# some words may be found in more than one browser description. (MSIE is# presented as "Mozilla/4.0 (Compatible; MSIE 4.01; ...")## for example, the "explorer=MSIE" tag indicates that the XSL stylesheet# associated to the media type "explorer" should be mapped to those browsers# that have the string "MSIE" in their "user-Agent" HTTP header.browser.0 = explorer=MSIEbrowser.1 = pocketexplorer=MSPIEbrowser.2 = handweb=HandHTTPbrowser.3 = avantgo=AvantGobrowser.4 = imode=DoCoMobrowser.5 = opera=Operabrowser.6 = lynx=Lynxbrowser.7 = java=Javabrowser.8 = wap=Nokiabrowser.9 = wap=UPbrowser.10 = wap=Wapalizerbrowser.11 = mozilla5=Mozilla/5browser.12 = mozilla5=Netscape6/browser.13 = netscape=Mozilla########################################### Profiling                              ############################################Uncomment this to enable coarse performance profiling.#Look at samples/profiler/profiler.xml to see the results of the profiler#profiler.enabled=true#Comment this out to remove the <--this page was served ... comment from the#end of text pages served by Cocoonverbosity=true

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -