|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jaxfront.core.dom.Document
public class Document
Represents a JAXFront Type DOM. Every JAXFront Type refers to an XMLSchema Element and a XUIDefinition defined in the XUI file. The class DOMBuilder acts a a factory for creating JAXFront documents. A JAXFront DOM combines XMLSchema information (meta level), XMLInstance and XUI definitions. To create a JAXFront DOM, the existance of an XMLSchema is a must. Use the serialize method to create an XML OutputStream.
DOMBuilder
Field Summary | |
---|---|
boolean |
_enforcePrefixSerialization
|
boolean |
_isReleased
|
long |
_lastDomUpdateTime
|
static java.lang.String |
BUILD_VERSION
|
static java.lang.String |
CLIENT_PROPERTY_HTTP_REQUEST
|
static java.lang.String |
DOM_ARGS
|
static java.lang.String |
GLOBAL_CODESET_DOC
|
DoubleKeyHashtable |
itCache
|
DoubleKeyHashtable |
parentCache
|
static java.lang.String |
TARGET_PI
|
DoubleKeyHashtable |
xpCache
|
static java.lang.String |
XUI_VERSION
|
Constructor Summary | |
---|---|
Document(XMLSchema schema,
Type rootType)
Creates a JAXFront DOM for a specific XMLSchema and root node. |
|
Document(XMLSchema schema,
Type rootType,
java.util.Hashtable params)
Creates a JAXFront DOM for a specific XMLSchema and root node. |
Method Summary | |
---|---|
void |
addActionPerformListener(ActionPerformListener newListener)
Register a new listener for receiving JAXFront ActionPerform events. |
void |
addDirtyChangeListener(DirtyChangeListener newListener)
Register a new listener for receiving dirty changes. |
void |
addDOMChangeListener(DOMChangeListener newListener)
Register a new listener for receiving JAXFront DOM events. |
void |
addDOMChangeListener(DOMChangeListener newListener,
int pos)
Register a new listener for receiving JAXFront DOM events. |
FormulaExpression |
addFormula(FormulaExpression formula)
|
void |
addNotFiredInitializationRule(Type target,
Rule initializationRule)
|
void |
attachUISpecification(org.w3c.dom.Document xuiW3CDOM,
boolean reinitializeGlobalDefinitions)
Attaches the passed XUI Document to the internal ui specification. |
void |
bind(org.w3c.dom.Document dom)
Binds the values of the source DOM (W3C DOM) to the JAXFront DOM. |
void |
bind(org.w3c.dom.Document dom,
boolean reinitializeXUI)
Binds the values of the source DOM (W3C DOM) to the JAXFront DOM. |
void |
cancelInstance()
Fires a CANCEL-DOM event. |
void |
checkAutoCreateListItems(Type type)
|
Document |
copy()
Copies the current JAXFront-Document and returns it. |
void |
fireActionPerformed(ActionPerformEvent event)
Informs all ActionPerformListeners about a performing action. |
void |
fireDirtyChange()
|
void |
fireDOMChanged(DOMChangeEvent event)
Informs all DOMChangeListeners about node changes. |
void |
fireDOMChanged(DOMChangeEvent event,
boolean isTemporary)
Informs all DOMChangeListeners about node changes (add/remove/cancel). |
java.lang.String |
getAppContext()
|
java.awt.Color |
getApplicationFieldColor()
Returns the color that is defined in the XUI-Document for all mandatory application fields. |
java.util.Hashtable |
getApplicationProperties()
|
java.lang.Object |
getApplicationProperty(java.lang.String key)
|
java.lang.String |
getAppVersionNo()
Returns the application version number set in the xui file. |
static java.lang.String |
getBuildVersion()
Returns the build version of the current JAXFront Engine. |
java.lang.Object |
getClientProperty(java.lang.String key)
|
ClipBoard |
getClipBoard()
|
CodeTables |
getCodeTables()
Returns the defined codeTables for this DOM domain (stored per XMLSchema). |
TypeController |
getController()
Returns the TypeController for this DOM. |
long |
getCreatedTime()
|
java.lang.String |
getDefaultNamespace()
|
float |
getDividerLocation()
Returns the global divider location. |
java.lang.String |
getDocumentID()
|
EditablePanel |
getEditor()
Returns the top level visual editor for this DOM if any, otherwise return null. |
java.lang.String |
getEncoding()
|
java.awt.Color |
getErrorMarkingColor()
Returns the color which marks errors in a visualizer view. |
java.util.List |
getFilters()
Returns the defined search filters. |
FingerPrint |
getFingerPrint()
Returns the fingerprint for this DOM. |
java.util.Collection |
getFormulas()
|
GlobalDefinition |
getGlobalDefinition()
Returns the global definitions for this DOM (XUI Global definitions). |
float |
getGlobalLabelIndent()
Returns the global label indent. |
Rule |
getGlobalRule(java.lang.Object id)
|
java.util.Hashtable |
getGlobalRules()
|
DoubleKeyHashtable |
getGlobalXUIDefinitions()
|
java.lang.String |
getInfo()
|
java.util.Map |
getInfos()
|
KeyKeyRefManager |
getKeyKeyRefManager()
|
java.lang.String |
getLanguage()
Returns the language that is defined in the XUI-Document |
long |
getLastDomUpdateTimeStamp()
|
SimpleType |
getLeafType(java.lang.String xpath)
Returns a simple type (leaf type) according to the given xpath or null. |
java.util.HashSet |
getLostComponents()
|
NLS |
getNLS()
Returns the NLS for this DOM. |
java.util.LinkedHashMap |
getNotFiredInitializationRules()
|
java.awt.Color |
getOptionalFieldColor()
Returns the color that is defined in the XUI-Document for all optional application fields. |
java.util.Hashtable |
getOriginalXmlHeaderAttributes()
Start the serialization of this DOM to the passing Stringbuffer. |
JAXFrontPropertyChangeSupport |
getPropertyChangeSupport()
Gets the PropertyChangeSupport helper instance for this type. |
Type |
getRootType()
Returns the root type of the current document. |
XMLSchema |
getSchema()
Returns the XML schema for this DOM. |
java.lang.String |
getSchemaLocation()
|
java.awt.Color |
getSchemaRequiredFieldColor()
Returns the color that is defined in the XUI-Document for all mandatory fields. |
java.awt.Dimension |
getScreenSize()
Returns the default screensize or as defined in the XUI-Document. |
SearchDefinition |
getSearchDefinition()
Returns a search definition as defined in the XUI-Document. |
SerializationModifier |
getSerializationModifier()
|
int |
getStatus()
|
java.util.List |
getTreeRoot()
Returns the root nodes for visualizing in the navigation tree. |
Type |
getType(java.lang.String xpath)
Returns the type that can be found with the given xpath. |
Type |
getType(java.lang.String xpath,
Type baseType)
Returns the type that can be found with the given xpath. |
java.util.List |
getTypes(java.lang.String xpath)
Returns a list of types that can be found with the given xpath. |
java.util.List |
getTypes(java.lang.String xpath,
Type rootType)
|
java.util.List |
getTypes(java.lang.String xpath,
Type rootType,
boolean serializableOnly)
|
JAXFrontUndoManager |
getUndoManager()
|
int |
getVerticalScrollBarPolicy()
Returns the usage of the vertical scrollbar as int. |
Type |
getViewHolderType(Type smartType)
Retrieves the right viewHolder (container) type for the given type. |
java.util.Hashtable |
getXMLNamespaceMappings()
|
Document |
getXUIDocument()
Returns the current XUI-Document. |
java.util.Hashtable |
getXUINamespaceMappings()
|
java.util.Hashtable |
getXUIPrefixNamespaceMappings()
|
Type |
getXUIRootType()
Returns the root type of the current XUI-Document. |
static java.lang.String |
getXUIVersionNo()
Returns the current supported XUI version of the JAXFront Engine. |
boolean |
hasChanged()
Returns true if the state of a type within this DOM has changed. |
FormulaExpression |
hasFormula(FormulaExpression formula)
|
void |
initializeGlobalRules(Type rules)
|
void |
initUISpecification(Document uiDoc)
Initializes the UserInterface-Specification (XUI-Document). |
void |
initUISpecification(Document uiDoc,
boolean releaseOldUISpecification,
boolean reinitializeGlobalDefinitions)
Initializes the UserInterface-Specification (XUI-Document). |
void |
initUISpecification(Type xuiType)
Initializes a xui component for all target nodes retrieved by processing the passed xpath statement. |
void |
initUISpecification(java.net.URL xuiURL)
|
boolean |
isAllowingSavingWithErrors()
Returns whether the document can be saved even if validation errors exist |
boolean |
isBinding()
|
boolean |
isEditable()
Returns whether the document can be modified or not. |
boolean |
isHistoryMode()
|
boolean |
isImmutable()
|
boolean |
isOrphan(org.w3c.dom.Node node)
Check if the supplied node is an orphan, i.e. if its uppermost parent is of type Document (=> not orphaned) or another node (=> orphaned) |
boolean |
isPasteMode()
|
boolean |
isPDFXUIDOM()
|
boolean |
isRuleEngineBlocked()
|
boolean |
isRunningInXUIEditor()
Returns if JAXFront is running as XUIEditor. |
boolean |
isSerializingDefaults()
Returns whether the defined defaults in the schema should be serialized or not. |
boolean |
isShowingTreeListContainer()
Returns true if a container element (e.q. item(s)) for list types will be shown in the navigation tree. |
boolean |
isUsingBackwardButton()
Returns true if the backwardButton in the editor is used or not. |
boolean |
isUsingButtonBar()
Returns whether the button bar in the editor is visible or not. |
boolean |
isUsingForwardButton()
Returns true if the forwardButton in the editor is used or not. |
boolean |
isUsingPlugins()
Returns whether plug-ins are allowed to use or not. |
boolean |
isUsingStatusBar()
Returns whether the status bar is used or not. |
boolean |
isValid()
|
boolean |
isXPathCached()
|
boolean |
isXUIDOMInstance()
|
boolean |
isXUIInitialized()
|
boolean |
keepXUIDOMinMemory()
|
void |
keepXUIDOMinMemory(boolean isXuiDom)
|
void |
lock(java.lang.String[] fieldsToUnlock)
Locks the current DOM and all its visualizers. |
void |
maintainLostXUIComponent(Type xuiComponent)
|
void |
maintainNoTargetXPathDefinitions(java.util.List definitions)
|
void |
markNotEditableTypes(Type type,
boolean unmark,
boolean handleListItems)
|
void |
printTypeTree()
Writes the current DOM tree to the log file. |
void |
putApplicationProperty(java.lang.String key,
java.lang.Object value)
|
void |
putClientProperty(java.lang.String key,
java.lang.Object value)
|
void |
reApplyLostComponents()
|
void |
refresh(org.w3c.dom.Document dom,
Document uiDOM)
Refreshes the given DOM and reinitialize the XUI definitions. |
void |
refreshUISpecification(Document uiDOM)
Refreshes the current DOM with new XUI definitions. |
void |
reinitializeNLS()
|
void |
reinitializeUISpecification()
|
void |
release()
Releases allocated resources for this DOM including type tree, XUI DOM, properties, visualizer cache, processing-instructions and type controller. |
void |
releaseController()
Releases the current type controller. |
void |
releaseProperties()
Releases the current properties. |
void |
removeActionPerformListener(ActionPerformListener newListener)
Removes a ActionPerformListener. |
java.lang.Object |
removeApplicationProperty(java.lang.String key)
|
void |
removeClientProperty(java.lang.String key)
|
void |
removeDirtyChangeListener(DirtyChangeListener listener)
Remove a listener for receiving dirty changes. |
void |
removeDOMChangeListener(DOMChangeListener newListener)
Removes a DOMChangeListener. |
FormulaExpression |
removeFormula(FormulaExpression formula)
|
void |
removeFormulaExpressions(Type forType)
|
XUIDefinition |
removeXUIDefinition(Type type)
|
void |
saveAs(java.io.File file)
Saves the current document into a file. |
void |
saveAsZip(java.io.File file)
|
java.lang.StringBuffer |
serialize()
Serializes the current document into a StringBuffer and returns it. |
java.lang.StringBuffer |
serialize(boolean makeIndents)
|
java.lang.StringBuffer |
serialize(boolean makeIndents,
boolean serializeHeader)
Serializes the current document into a StringBuffer and returns it. |
java.lang.StringBuffer |
serializeInternal(boolean makeIndents,
boolean serializeHeader)
Start the serialization of this DOM to the passing Stringbuffer. |
byte[] |
serializeToByteArray()
|
byte[] |
serializeToByteArray(java.lang.String encoding)
|
org.w3c.dom.Document |
serializeToW3CDocument()
Serialize the current JAXFront document and creates a new W3C document instance. |
void |
setAppContext(java.lang.String appContext)
|
void |
setEncoding(java.lang.String encoding)
|
void |
setFingerPrint(FingerPrint fingerPrint)
Sets the fingerprint for this DOM. |
void |
setGlobalCodeSet(org.w3c.dom.Document codesetDoc)
Initialize the global Codest for this DOM document. |
void |
setHistoryMode(boolean enabled,
java.util.Vector fingerprintActions)
|
void |
setImmutable(boolean immutable)
|
void |
setIsBinding(boolean isBinding)
|
void |
setLanguage(java.lang.String language)
Sets the language for this and all future DOM's so the defined language within a XUI definition will not be considered again. |
void |
setNLS(NLS nls)
Sets the NLS properties to use. |
void |
setPasteMode(boolean pasting)
|
void |
setPID(java.lang.String pid)
|
void |
setRuleEngineBlocked(boolean blockRuleEngine)
|
void |
setRunningAsXUIEditor(boolean isEditorMode)
|
void |
setSchemaLocation(java.lang.String schemaLocation)
|
void |
setSerializationModifier(SerializationModifier serializationModifier)
|
void |
setStatus(int status)
|
void |
setUndoManager(JAXFrontUndoManager undoManager)
|
void |
setXMLNamespaceMappings(java.util.Hashtable mapping)
|
void |
setXPathCached(boolean cache)
|
void |
setXUIDocument(Document xuiDocument)
|
void |
setXUINamespaceMappings(java.util.Hashtable mapping)
|
boolean |
systemExitOnClose()
Returns whether the system will exit when the window is closed or not. |
void |
unlock()
|
boolean |
useOptionalCheckBox()
Returns whether optional check boxes are used or not. |
void |
validate()
Validates the current DOM according its XML Schema & the defined XUI rules. |
void |
validate(boolean isRunningOnServer)
Validates the current DOM according its XML Schema & the defined XUI rules. |
void |
validateMandatoryAndCardinality(Type type,
java.util.List errors,
boolean checkValue)
Checks if all mandatory leaf types derived from the passed type are not empty. |
java.util.Vector |
validatePageErrors(Type type,
int pageIndex)
|
void |
validateSchemaConstraints()
Validates the current DOM according its mandatory fields. |
void |
validateXUIRules(boolean isRunningOnServer)
Validates the current DOM according its defined save XUI rules. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String XUI_VERSION
public static final java.lang.String BUILD_VERSION
public static final java.lang.String TARGET_PI
public static final java.lang.String DOM_ARGS
public static final java.lang.String CLIENT_PROPERTY_HTTP_REQUEST
public static final java.lang.String GLOBAL_CODESET_DOC
public boolean _isReleased
public long _lastDomUpdateTime
public DoubleKeyHashtable itCache
public DoubleKeyHashtable parentCache
public DoubleKeyHashtable xpCache
public boolean _enforcePrefixSerialization
Constructor Detail |
---|
public Document(XMLSchema schema, Type rootType, java.util.Hashtable params)
schema
- XML SchemarootType
- root node for this documentpublic Document(XMLSchema schema, Type rootType)
schema
- XML SchemarootType
- root node for this documentMethod Detail |
---|
public void addDOMChangeListener(DOMChangeListener newListener)
newListener
- a new listenerpublic void addDOMChangeListener(DOMChangeListener newListener, int pos)
newListener
- a new listenerpublic void fireDirtyChange()
public void addDirtyChangeListener(DirtyChangeListener newListener)
newListener
- a new listenerpublic void removeDirtyChangeListener(DirtyChangeListener listener)
listener
- a listenerpublic FormulaExpression addFormula(FormulaExpression formula)
public java.util.Collection getFormulas()
public FormulaExpression hasFormula(FormulaExpression formula)
public FormulaExpression removeFormula(FormulaExpression formula)
public void removeFormulaExpressions(Type forType)
public void addActionPerformListener(ActionPerformListener newListener)
newListener
- a new listenerpublic void cancelInstance()
public Document copy() throws DocumentCreationException
DocumentCreationException
- if the DOM couldn't be buildpublic void bind(org.w3c.dom.Document dom)
dom
- W3C DOM to bindpublic void bind(org.w3c.dom.Document dom, boolean reinitializeXUI)
dom
- W3C DOM to bindreinitializeXUI
- indicates if XUI should be reinitializedpublic void setXPathCached(boolean cache)
public boolean isXPathCached()
public KeyKeyRefManager getKeyKeyRefManager()
public void setEncoding(java.lang.String encoding)
public java.lang.String getEncoding()
public void fireDOMChanged(DOMChangeEvent event)
event
- DOMChangeEvent to firepublic void fireDOMChanged(DOMChangeEvent event, boolean isTemporary)
event
- DOMChangeEvent to fireisTemporary
- true if this event is just temporarypublic void fireActionPerformed(ActionPerformEvent event)
event
- DOMChangeEvent to firepublic CodeTables getCodeTables()
public TypeController getController()
public float getDividerLocation()
public java.awt.Color getErrorMarkingColor()
public java.util.List getFilters()
public float getGlobalLabelIndent()
public GlobalDefinition getGlobalDefinition()
public SimpleType getLeafType(java.lang.String xpath)
xpath
- to look for a leaf typepublic java.lang.String getLanguage()
public java.awt.Color getSchemaRequiredFieldColor()
public java.awt.Color getApplicationFieldColor()
public java.awt.Color getOptionalFieldColor()
public Type getRootType()
public XMLSchema getSchema()
public java.awt.Dimension getScreenSize()
public SearchDefinition getSearchDefinition()
public java.util.List getTreeRoot()
public Type getType(java.lang.String xpath)
xpath
- xpath of the type that should be accessed
public Type getType(java.lang.String xpath, Type baseType)
xpath
- xpath of the type that should be accessed
public java.util.List getTypes(java.lang.String xpath)
xpath
- xpath of the type(s) that should be accessed
public java.util.List getTypes(java.lang.String xpath, Type rootType)
public java.util.List getTypes(java.lang.String xpath, Type rootType, boolean serializableOnly)
public boolean isRunningInXUIEditor()
public void setRunningAsXUIEditor(boolean isEditorMode)
public int getVerticalScrollBarPolicy()
public Document getXUIDocument()
public void setXUIDocument(Document xuiDocument)
public Type getXUIRootType()
public static java.lang.String getXUIVersionNo()
public static java.lang.String getBuildVersion()
public void initUISpecification(java.net.URL xuiURL) throws DocumentCreationException
DocumentCreationException
public void attachUISpecification(org.w3c.dom.Document xuiW3CDOM, boolean reinitializeGlobalDefinitions) throws DocumentCreationException
xuiW3CDOM
- new XUI DOMreinitializeGlobalDefinitions
- defines if global XUI definitions should be reinitialized with
the passing XUI definitions
DocumentCreationException
public void initUISpecification(Document uiDoc) throws DocumentCreationException
uiDoc
- the XUI-Document (JAXFront-Document)
DocumentCreationException
- if the DOM couldn't be buildpublic void initUISpecification(Document uiDoc, boolean releaseOldUISpecification, boolean reinitializeGlobalDefinitions) throws DocumentCreationException
uiDoc
- the XUI-Document (JAXFront-Document)releaseOldUISpecification
- defines if the old UISpecification should be releasedreinitializeGlobalDefinitions
- defines if the global definitions sould be reinitialized
DocumentCreationException
- if the DOM couldn't be buildpublic void setGlobalCodeSet(org.w3c.dom.Document codesetDoc)
public NLS getNLS()
public void initUISpecification(Type xuiType)
xuiType
- xui component from the XUI DOMpublic void maintainNoTargetXPathDefinitions(java.util.List definitions)
public void maintainLostXUIComponent(Type xuiComponent)
public void reApplyLostComponents()
public boolean isAllowingSavingWithErrors()
public EditablePanel getEditor()
public boolean isEditable()
public boolean isOrphan(org.w3c.dom.Node node)
node
- the node that should be checked
public boolean isSerializingDefaults()
public boolean isShowingTreeListContainer()
public boolean isUsingBackwardButton()
public boolean isUsingButtonBar()
public boolean isUsingForwardButton()
public boolean isUsingPlugins()
public boolean isUsingStatusBar()
public void printTypeTree()
public void refresh(org.w3c.dom.Document dom, Document uiDOM) throws DocumentCreationException
dom
- a Document (W3C)uiDOM
- a XUI-Document (JAXFront-Document)
DocumentCreationException
- if the DOM couldn't be buildpublic void refreshUISpecification(Document uiDOM) throws DocumentCreationException
uiDOM
- XUIDOM to initialize
DocumentCreationException
- if the DOM couldn't be buildpublic void release()
public void releaseController()
public void releaseProperties()
public void initializeGlobalRules(Type rules)
public java.util.Hashtable getGlobalRules()
public Rule getGlobalRule(java.lang.Object id)
public void removeDOMChangeListener(DOMChangeListener newListener)
newListener
- DOMChangeListenerpublic void removeActionPerformListener(ActionPerformListener newListener)
newListener
- an existing ActionPerformListenerpublic void saveAs(java.io.File file) throws ValidationException, java.io.IOException
file
- File, into which the current document will be saved
ValidationException
- if the file couldn't be saved
java.io.IOException
public void saveAsZip(java.io.File file) throws ValidationException, java.io.IOException
ValidationException
java.io.IOException
public java.lang.StringBuffer serialize() throws ValidationException
ValidationException
- if the file couldn't be savedpublic byte[] serializeToByteArray() throws ValidationException, java.io.UnsupportedEncodingException
ValidationException
java.io.UnsupportedEncodingException
public byte[] serializeToByteArray(java.lang.String encoding) throws ValidationException, java.io.UnsupportedEncodingException
ValidationException
java.io.UnsupportedEncodingException
public java.lang.StringBuffer serialize(boolean makeIndents) throws ValidationException
ValidationException
public java.lang.StringBuffer serialize(boolean makeIndents, boolean serializeHeader) throws ValidationException
makeIndents
- indicates if indents & carriage returns should be writtenserializeHeader
- true, if the xml header should be written
ValidationException
- if the file couldn't be savedpublic java.lang.String getSchemaLocation()
public java.util.Hashtable getOriginalXmlHeaderAttributes()
sb
- Stringbuffer to serialize DOM intomakeIndents
- indicates if indents & carriage returns should be writtenserializeHeader
- true, if the xml header should be writtenpublic java.lang.StringBuffer serializeInternal(boolean makeIndents, boolean serializeHeader)
sb
- Stringbuffer to serialize DOM intomakeIndents
- indicates if indents & carriage returns should be writtenserializeHeader
- true, if the xml header should be writtenpublic void setSchemaLocation(java.lang.String schemaLocation)
public boolean systemExitOnClose()
public boolean useOptionalCheckBox()
public void validate()
public java.util.Vector validatePageErrors(Type type, int pageIndex)
public void validate(boolean isRunningOnServer)
public void validateSchemaConstraints()
public void validateXUIRules(boolean isRunningOnServer)
public long getLastDomUpdateTimeStamp()
public void validateMandatoryAndCardinality(Type type, java.util.List errors, boolean checkValue)
type
- type to checkpublic FingerPrint getFingerPrint()
public void setPID(java.lang.String pid)
public boolean hasChanged()
public java.lang.String getAppVersionNo()
public void setFingerPrint(FingerPrint fingerPrint)
fingerPrint
- public void setNLS(NLS nls)
nls
- NLS propertiespublic void setLanguage(java.lang.String language)
language
- language for all DOM's to usepublic void putClientProperty(java.lang.String key, java.lang.Object value)
public void putApplicationProperty(java.lang.String key, java.lang.Object value)
public java.lang.Object getApplicationProperty(java.lang.String key)
public java.lang.Object removeApplicationProperty(java.lang.String key)
public void removeClientProperty(java.lang.String key)
public java.lang.Object getClientProperty(java.lang.String key)
public DoubleKeyHashtable getGlobalXUIDefinitions()
public java.util.Hashtable getXMLNamespaceMappings()
public java.util.Hashtable getXUINamespaceMappings()
public java.util.Hashtable getXUIPrefixNamespaceMappings()
public void setXUINamespaceMappings(java.util.Hashtable mapping)
public void setXMLNamespaceMappings(java.util.Hashtable mapping)
public boolean isXUIInitialized()
public boolean keepXUIDOMinMemory()
public boolean isXUIDOMInstance()
public void keepXUIDOMinMemory(boolean isXuiDom)
public boolean isPDFXUIDOM()
public void reinitializeNLS()
public void reinitializeUISpecification()
public void setImmutable(boolean immutable)
public boolean isImmutable()
public JAXFrontPropertyChangeSupport getPropertyChangeSupport()
public boolean isBinding()
public void setIsBinding(boolean isBinding)
public boolean isValid()
public java.util.LinkedHashMap getNotFiredInitializationRules()
public void addNotFiredInitializationRule(Type target, Rule initializationRule)
public Type getViewHolderType(Type smartType)
smartType
- a given typepublic java.util.HashSet getLostComponents()
public void lock(java.lang.String[] fieldsToUnlock)
fieldsToUnlock
- list of xpath where the corresponding visualizer will still
unlockedpublic void unlock()
public void markNotEditableTypes(Type type, boolean unmark, boolean handleListItems)
public void checkAutoCreateListItems(Type type)
public void setRuleEngineBlocked(boolean blockRuleEngine)
public boolean isRuleEngineBlocked()
public org.w3c.dom.Document serializeToW3CDocument() throws org.apache.xerces.xni.parser.XMLParseException, org.xml.sax.SAXException, java.io.IOException, ValidationException
org.apache.xerces.xni.parser.XMLParseException
org.xml.sax.SAXException
java.io.IOException
ValidationException
public java.lang.String getAppContext()
public void setAppContext(java.lang.String appContext)
public void setSerializationModifier(SerializationModifier serializationModifier)
public SerializationModifier getSerializationModifier()
public java.lang.String getDefaultNamespace()
public java.util.Hashtable getApplicationProperties()
public JAXFrontUndoManager getUndoManager()
public void setUndoManager(JAXFrontUndoManager undoManager)
public void setStatus(int status)
public int getStatus()
public ClipBoard getClipBoard()
public java.lang.String getInfo()
public java.util.Map getInfos()
public boolean isPasteMode()
public void setPasteMode(boolean pasting)
public XUIDefinition removeXUIDefinition(Type type)
public long getCreatedTime()
public boolean isHistoryMode()
public java.lang.String getDocumentID()
public void setHistoryMode(boolean enabled, java.util.Vector fingerprintActions)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |