|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentManager
Wraps up a lot of useful methods for dealing with the Document
model into a central place.
As the Document model has some significant differences to a standard W3C DOM, it is often handy to have all of these on one object.
The majority of this class is simple wrapper methods, but some additional functions (eg ElementNavigator
) are also provided.
Instance available via ELJBean.getDocumentManager()
.
Method Detail |
---|
boolean idExistsInDocument(String id)
Element getBodyElement()
String getCharset()
String getReturnBodyOnly()
Since EditLive! 8.0, this will only ever be "true" or "false". The "auto" setting is now handled in JavaScript.
@Deprecated boolean isHeadIncluded()
ElementNavigator getElementNavigator(Element element)
ElementInfo getElementInfo(Element element)
Element getElementById(String id)
HTMLDocument.getElement(String)
.
Element getCharacterElement(int position)
DefaultStyledDocument.getCharacterElement(int)
.
Element getParagraphElement(int position)
DefaultStyledDocument.getParagraphElement(int)
.
Document getDocument()
JTextComponent.getDocument()
.
TableManager getTableManager()
ELJBean.getTableManager()
.
String getStyles()
ELJBean.getStyles()
.
HTML.Tag getDeclaredCustomTag(String tagName)
CustomTagController.getDeclaredCustomTag(String)
.
String getBaseURL()
ELJBean.getBaseURL()
.
|
Copyright (c) 2005-2013 Ephox Pty Ltd. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |