Java Doc for DocumentTemplateVersionImpl.java in  » Ajax » ItsNat » org » itsnat » impl » core » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Ajax » ItsNat » org.itsnat.impl.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.itsnat.impl.core.MarkupContainerImpl
      org.itsnat.impl.core.MarkupTemplateVersionImpl
         org.itsnat.impl.core.DocumentTemplateVersionImpl

All known Subclasses:   org.itsnat.impl.core.xml.XMLDocumentTemplateVersionImpl,  org.itsnat.impl.core.html.HTMLDocumentTemplateVersionImpl,
DocumentTemplateVersionImpl
abstract public class DocumentTemplateVersionImpl extends MarkupTemplateVersionImpl (Code)
Si fastLoadMode es true no se procesan los mutation events en carga haciendo que el código JavaScript de carga sea mucho menor serializándose el documento tras el proceso del usuario en carga. El inconveniente es que durante la carga no se pueden usar nodos que al final de la carga han sido eliminados o ha cambiado su path, pues el JavaScript se ejecuta actúa sobre el documento generado tras el proceso de carga. Si fastLoadMode es false se envía serializado al cliente la plantilla original y se envía como JavaScript todas las mutaciones del documento, elimina la restricción considerada anteriormente. El inconveniente es que se genera mucho JavaScript (más tráfico) y la ejecución del código tarda mucho (el JavaScript es muy lento). Es preferible el modo fastLoadMode = true si la aplicación lo permite
author:
   jmarranz


Field Summary
protected  DOMRenderImpldocRender
    

Constructor Summary
public  DocumentTemplateVersionImpl(DocumentTemplateImpl docTemplate, long timeStamp)
    

Method Summary
abstract public  ItsNatDocumentImplcreateItsNatDocument(Document doc, ItsNatSessionImpl session)
    
public  longgetAJAXTimeout()
    
public  intgetClientErrorMode()
    
public  DateFormatgetDefaultDateFormat()
    
public  NumberFormatgetDefaultNumberFormat()
    
public  intgetDefaultSyncMode()
    
public  DOMRenderImplgetDocumentRender()
    
public  DocumentTemplateImplgetDocumentTemplate()
    
public  longgetEventDispatcherMaxWait()
    
public  StringgetFrameworkScriptFilesBasePath()
    
public  intgetUseGZip()
    
public  booleanisAJAXEnabled()
    
public  booleanisAddFrameworkScriptFiles()
    
public  booleanisAutoBuildComponents()
    
public  booleanisAutoCleanEventListeners()
    
public  booleanisDebugMode()
    
public  booleanisFastLoadMode()
    
public  booleanisLoadScriptInline()
    
public  booleanisNodeCacheEnabled()
    
public  booleanisReferrerEnabled()
    
public  booleanisReferrerPushEnabled()
    
public  booleanisScriptingEnabled()
    
public  booleanisUsePatternMarkupToRender()
    
public  DocumentloadDocument()
    
abstract public  DocumentFragmentloadFragmentFromSource(String source, ItsNatDocument docTarget)
    
public  ItsNatDocumentImplloadItsNatDocument(ItsNatSessionImpl session)
    
abstract protected  voidpreCacheDocument()
    
public  StringserializeTemplateDocument()
    
public  voidsetUsePatternMarkupToRender(boolean usePatternMarkupToRender)
    

Field Detail
docRender
protected DOMRenderImpl docRender(Code)




Constructor Detail
DocumentTemplateVersionImpl
public DocumentTemplateVersionImpl(DocumentTemplateImpl docTemplate, long timeStamp)(Code)
Creates a new instance of DocumentTemplateVersionImpl




Method Detail
createItsNatDocument
abstract public ItsNatDocumentImpl createItsNatDocument(Document doc, ItsNatSessionImpl session)(Code)



getAJAXTimeout
public long getAJAXTimeout()(Code)



getClientErrorMode
public int getClientErrorMode()(Code)



getDefaultDateFormat
public DateFormat getDefaultDateFormat()(Code)



getDefaultNumberFormat
public NumberFormat getDefaultNumberFormat()(Code)



getDefaultSyncMode
public int getDefaultSyncMode()(Code)



getDocumentRender
public DOMRenderImpl getDocumentRender()(Code)



getDocumentTemplate
public DocumentTemplateImpl getDocumentTemplate()(Code)



getEventDispatcherMaxWait
public long getEventDispatcherMaxWait()(Code)



getFrameworkScriptFilesBasePath
public String getFrameworkScriptFilesBasePath()(Code)



getUseGZip
public int getUseGZip()(Code)



isAJAXEnabled
public boolean isAJAXEnabled()(Code)



isAddFrameworkScriptFiles
public boolean isAddFrameworkScriptFiles()(Code)



isAutoBuildComponents
public boolean isAutoBuildComponents()(Code)



isAutoCleanEventListeners
public boolean isAutoCleanEventListeners()(Code)



isDebugMode
public boolean isDebugMode()(Code)



isFastLoadMode
public boolean isFastLoadMode()(Code)



isLoadScriptInline
public boolean isLoadScriptInline()(Code)



isNodeCacheEnabled
public boolean isNodeCacheEnabled()(Code)



isReferrerEnabled
public boolean isReferrerEnabled()(Code)



isReferrerPushEnabled
public boolean isReferrerPushEnabled()(Code)



isScriptingEnabled
public boolean isScriptingEnabled()(Code)



isUsePatternMarkupToRender
public boolean isUsePatternMarkupToRender()(Code)



loadDocument
public Document loadDocument()(Code)



loadFragmentFromSource
abstract public DocumentFragment loadFragmentFromSource(String source, ItsNatDocument docTarget)(Code)



loadItsNatDocument
public ItsNatDocumentImpl loadItsNatDocument(ItsNatSessionImpl session)(Code)



preCacheDocument
abstract protected void preCacheDocument()(Code)



serializeTemplateDocument
public String serializeTemplateDocument()(Code)



setUsePatternMarkupToRender
public void setUsePatternMarkupToRender(boolean usePatternMarkupToRender)(Code)



Fields inherited from org.itsnat.impl.core.MarkupTemplateVersionImpl
final public static String ITSNAT_NAMESPACE(Code)(Java Doc)
protected Map elementCacheMap(Code)(Java Doc)
protected LinkedList fragments(Code)(Java Doc)
protected MarkupTemplateImpl markupTemplate(Code)(Java Doc)
protected DOMRenderImpl nodeRender(Code)(Java Doc)
protected MarkupTemplateVersionDelegateImpl templateDelegate(Code)(Java Doc)
protected Document templateDoc(Code)(Java Doc)
protected long timeStamp(Code)(Java Doc)

Methods inherited from org.itsnat.impl.core.MarkupTemplateVersionImpl
protected void addCharacterDataToCache(CharacterData node)(Code)(Java Doc)
protected void addElementToCache(Element elem)(Code)(Java Doc)
protected void addNodeToCache(Node node)(Code)(Java Doc)
protected String addToCache(String code)(Code)(Java Doc)
protected boolean areChildElementStatic(Element elem, LinkedList cacheableChildrenGlobal)(Code)(Java Doc)
abstract protected MarkupTemplateVersionDelegateImpl createMarkupTemplateVersionDelegate()(Code)(Java Doc)
public boolean declaredAsComponent(Element elem)(Code)(Java Doc)
abstract protected void doCacheDocument()(Code)(Java Doc)
public Document getDocument()(Code)(Java Doc)
protected Map getElementCacheMap()(Code)(Java Doc)
public String getEncoding()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public String getMIME()(Code)(Java Doc)
public DOMRenderImpl getNodeDOMRender()(Code)(Java Doc)
public MarkupTemplateVersionImpl getUsedMarkupTemplateVersion(String id)(Code)(Java Doc)
public boolean hasCachedNodes()(Code)(Java Doc)
protected void inspectNodeToCache(Node node)(Code)(Java Doc)
protected boolean isElementCacheable(Element elem, LinkedList cacheableChildrenGlobal)(Code)(Java Doc)
public boolean isElementNotCacheableByNamespace(Element elem)(Code)(Java Doc)
public boolean isHTML()(Code)(Java Doc)
public boolean isHTMLorXHTML()(Code)(Java Doc)
public boolean isInvalid(long newTimeStamp)(Code)(Java Doc)
public boolean isInvalid()(Code)(Java Doc)
protected boolean isNodeCacheable(Node node, LinkedList cacheableChildrenGlobal)(Code)(Java Doc)
public boolean isOnLoadCacheStaticNodes()(Code)(Java Doc)
public boolean isUniqueIdGeneratorSync()(Code)(Java Doc)
public boolean isXHTML()(Code)(Java Doc)
public DocumentFragment loadDocumentFragment(Element includeElem, String fragName)(Code)(Java Doc)
public Document parseDocument(InputSource input)(Code)(Java Doc)
public void processCommentsIncludesInChildren(Node parent)(Code)(Java Doc)
public boolean processCommentsIncludesInNode(Node node)(Code)(Java Doc)
public void processCommentsIncludesInTree(Node node)(Code)(Java Doc)
public void processIncludeInsideNode(Element includeElem, String fragName)(Code)(Java Doc)
public void processIncludeReplacingNode(Element includeElem, String fragName)(Code)(Java Doc)
public static String removePrefixSuffix(String code, String prefix, String suffix)(Code)(Java Doc)
protected String serializeNode(Node node)(Code)(Java Doc)

Fields inherited from org.itsnat.impl.core.MarkupContainerImpl
protected String id(Code)(Java Doc)
protected UniqueIdGenerator idGenerator(Code)(Java Doc)
protected Map usedTemplates(Code)(Java Doc)

Methods inherited from org.itsnat.impl.core.MarkupContainerImpl
public void addMarkupTemplateVersionIfCaching(MarkupTemplateVersionImpl template)(Code)(Java Doc)
public String generateUniqueId()(Code)(Java Doc)
abstract public Document getDocument()(Code)(Java Doc)
public MarkupTemplateVersionImpl getUsedMarkupTemplateVersion(String id)(Code)(Java Doc)
public Map getUsedTemplateVersions()(Code)(Java Doc)
abstract public boolean hasCachedNodes()(Code)(Java Doc)
abstract public boolean isUniqueIdGeneratorSync()(Code)(Java Doc)
public String resolveCachedNodes(String text)(Code)(Java Doc)
public String serializeDocument(Document doc, DOMRenderImpl docRender)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.