|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use XoException | |
com.virtualweaver.xotics.datamodel | |
com.virtualweaver.xotics.datamodel.xpath | |
com.virtualweaver.xotics.datamodel.xpath.function |
Uses of XoException in com.virtualweaver.xotics.datamodel |
Subclasses of XoException in com.virtualweaver.xotics.datamodel | |
class |
XoLockedException
This is a specific XoException made to emphasize XoException.DM_LOCKED |
class |
XoRedirectException
This exception serves to embed another exception occurred and intercepted. |
class |
XoValidityException
This exception permits to identify the XO node where a validity error has occurred. |
Methods in com.virtualweaver.xotics.datamodel that throw XoException | |
void |
XoRoot.xoInitialize(java.lang.Object initObject)
This hook method is called after the end of an XO DM instance creation. |
XdtBidiMap |
XoRegistry.getEntityCatalog(java.lang.String nsref)
Returns the entities defined in namespace nsref |
java.lang.String |
XoRegistry.getType(XoObject xo)
returns the element type of param xo . |
XoCustomizerInfos[] |
XoRegistry.getCustomizers(XoObject xo)
return specific customizers usable to edit XO object xo . |
java.lang.String |
XoRegistry.loadDataModel(java.net.URL jarUrl)
Loads the dialect implementation (DM module) in jar format located in URL param jarUrl . |
java.lang.String |
XoRegistry.loadDataModel(XoDMInstance dm)
Loads the DM module described in param dm in DMDL format. |
void |
XoRegistry.unloadDataModel(java.lang.String nsref)
Unloads DM module identified by nsref . |
XoObject |
XoRegistry.createXoObject(java.lang.String nsref,
java.lang.String element)
Creates a new instance of XO object giving its namespace nsref for param element .
|
XoDMInstance |
XoRegistry.getDataModelDocument(java.lang.String nsref)
Returns the DMDL document describing Data-Model for namespace nsref |
java.net.URL |
XoRegistry.getDMLocation(java.lang.String nsref)
Gets the location URL of either a DMDL document describing a DM module or a jar containing the module loaded for namespace nsref |
XoProperty[] |
XoRegistry.getProperties(XoObject xo)
Returns the list of property wrappers defined for param xo . |
int |
XoRegistry.getPropertyCount(XoObject xo)
Returns the number of properties defined for param xo . |
XoProperty |
XoRegistry.getProperty(XoObject xo,
java.lang.String pName)
Returns the wrapper of property named pName for param xo . |
XoProperty |
XoRegistry.getPropertyByXml(XoObject xo,
java.lang.String xmlName)
Returns the wrapper of property whose XML attribute equivalent is named xmlName
for param xo . |
XoDMInstance |
XoFactory.loadDMInstance(java.net.URL url,
java.util.Map options,
java.lang.Object initObject)
Loads a DM instance from an XML file pointed by param url . |
XoDMInstance |
XoFactory.loadDMInstance(java.io.InputStream is,
java.util.Map options,
java.lang.Object initObject)
Loads a DM instance from an XML document read by param reader . |
XoDMInstance |
XoFactory.loadDMInstance(java.io.Reader r,
java.util.Map options,
java.lang.Object initObject)
Loads a DM instance from an XML document read by param reader . |
XoDMInstance |
XoFactory.loadDMInstance(java.lang.String xmlDoc,
java.util.Map options,
java.lang.Object initObject)
Loads a DM instance from a String argument ( xmlDoc ) containing an XML document. |
XoDMInstance |
XoFactory.createDMInstance(XoRoot root,
java.lang.String rootnsprefix,
java.util.Map options,
java.lang.Object initObject)
Creates a new DM instance with param root as root element and param rootnsprefix
as optional prefix. |
XoDMInstance |
XoFactory.createDMInstance(java.lang.String rootnsref,
java.lang.String rootnsprefix,
java.lang.String rootelement,
java.util.Map options,
java.lang.Object initObject)
Creates a new DM instance with param rootelement as root element name,
from namespace param rootnsref , with param rootnsprefix as optional prefix. |
XdpSequence |
XoRequestToolkit.computeSteps(XdpNode ctxNode,
XdpAnt[] ant)
Computes a step with an ANT (Axis-Node-Test) filter and the context node, and returns a new sequence containing the resulting nodes. |
XdpSequence |
XoRequestToolkit.computeSteps(XdpSequence inSeq,
XdpAnt[] ant)
Computes a step with an ANT (Axis-Node-Test) filter and an input sequence, and returns a new sequence containing the resulting nodes. |
XdpSequence |
XoRequestToolkit.union(XdpSequence[] seq)
Computes union of all XPath sequences given in array param seq
(seq[0] & seq[1] & seq{2] ...), and returns result in seq[0]. |
XdpSequence |
XoRequestToolkit.intersect(XdpSequence[] seq)
Computes intersection of all XPath sequences given in array param seq
(seq[0] | seq[1] | seq{2] ...), and returns result in seq[0]. |
XdpSequence |
XoRequestToolkit.except(XdpSequence[] seq)
Computes XPath except operation of all XPath sequences given in array param seq
(seq[0] except seq[1] except seq{2] ...), and returns result in seq[0]. |
int |
XoContainerSupport.addXoChild(XoObject child,
int index)
|
static XoObject |
XoUtilities.addChild(XoRegistry reg,
XoObject child,
XoContainer parent,
int index)
Use this method to add a child to a parent container not belonging to
any DM instance. |
static XoObject |
XoUtilities.addChild(XoRegistry reg,
XoObject child,
XoContainer parent)
|
static XoObject |
XoUtilities.getPolymorphObject(XoRegistry registry,
XoPolymorphWrapper child,
XoContainer parent)
Returns the appropriate XO object implementation held by polymorph wrapper child
when added to parent . |
void |
XoDMInstance.update()
This method is not yet implemented and reseved for the next version of this API. |
void |
XoDMInstance.release()
This method makes free all XO objects belonging to this : after calling
XoRoot.xoRelease() , DM instance owner of all XO objects is set to null.
|
void |
XoDMInstance.unlock()
Removes any lock previously set on this . |
void |
XoDMInstance.undo()
Removes the last historized change, to make this in the exact state before last
operation (add/remove XO object or property change). |
void |
XoDMInstance.redo()
This method is not yet implemented and reseved for the next version of this API. |
void |
XoDMInstance.setReadOnly(boolean rd)
Sets the document in read-only mode. |
boolean |
XoDMInstance.isReadOnly()
Tells whether this is in read-only mode. |
void |
XoDMInstance.setSourceLocation(java.net.URL loc)
Sets the location URL of the document file from which this is generated and/or
to save this to. |
java.net.URL |
XoDMInstance.getSourceLocation()
Gets the location URL of the document file from which this is generated and/or
to save this to. |
void |
XoDMInstance.setInsertDMLocation(boolean enabled)
Tells to this whether to insert a processing instruction, when saving this to file,
specifying the Data-Model modules needed to create this during XML parsing. |
boolean |
XoDMInstance.isInsertDMLocation()
Indicates whether or not this will insert a processing instruction, when saving this to file,
indicating the DM modules needed to create this during XML parsing. |
java.net.URL[] |
XoDMInstance.getDMLocations()
Gets URL location list permitting to load all Data-Model modules loaded |
java.net.URL |
XoDMInstance.getDMLocation(java.lang.String nsref)
Gets URL location permitting to load DM module specified by param nsref |
void |
XoDMInstance.setDMLocation(java.lang.String nsref,
java.net.URL url)
This method can set or change a Data-Model location URL for a specific namespace. |
void |
XoDMInstance.setInstanceName(java.lang.String iname)
Sets the name of this instance. |
java.lang.String |
XoDMInstance.getInstanceName()
Gets the name of this instance. |
java.lang.String[] |
XoDMInstance.getReferencedIds()
Returns the list of XO object ID values currently registered by this . |
XoObject |
XoDMInstance.getXoObjectById(java.lang.String id)
Returns the registered Xo object having id paameter as ID value. |
XoRoot |
XoDMInstance.getRoot()
Returns the root XoRoot object. |
int |
XoDMInstance.getIndexOfChild(XoObject child)
Returns the index of child in brotherhood. |
java.lang.String |
XoDMInstance.getEncoding()
Returns the current charset encoding used to save this . |
void |
XoDMInstance.setEncoding(java.lang.String charsetEncoding)
Sets the charset encoding to use when saving this . |
void |
XoDMInstance.checkValidity()
Apply all defined validity rules to entire content tree to check its validity. |
void |
XoDMInstance.checkValidity(XoObject xo,
boolean deep)
Checks validity from XO object xo . |
boolean |
XoDMInstance.deepEquals(XoObject src,
XoObject cmp)
Checks XO equality of two sub-trees using XoObject.equalsXoObject(XoObject) method. |
boolean |
XoDMInstance.contains(XoObject xo)
Checks whether this contains XO object param xo . |
boolean |
XoDMInstance.contains(XoObject xo,
XoObject container)
Checks whether XO object param xo is or is descendant of param container . |
boolean |
XoDMInstance.isWelcome(XoContainer parent,
XoObject child,
int index)
This method is the thread-safe version of XoContainer.isXoObjectWelcome(XoObject, int) .
|
void |
XoDMInstance.addNSMapping(java.lang.String nsref,
java.lang.String nsprefix)
Sets for this DM instance a prefix to associate to namespace nsref . |
boolean |
XoDMInstance.hasNSMapping(java.lang.String nsref)
Tells whether or not param nsref namespace URI is used by this |
void |
XoDMInstance.changeNSMapping(java.lang.String nsref,
java.lang.String nsprefix)
Changes the prefix string as param nsprefix associated to a namespace specified by param nsref . |
java.lang.String |
XoDMInstance.getNamespaceURI(java.lang.String nsprefix)
Returns the namespace URI string associated to param nsprefix prefix. |
java.lang.String |
XoDMInstance.getRootNamespaceURI()
Helper method which gets the namespace URI of the root XO object. |
java.lang.String[] |
XoDMInstance.getNamespaceURIs()
Gets the list of namespace URIs of Data-Models used by this . |
java.lang.String |
XoDMInstance.getNSPrefix(java.lang.String nsref)
Returns the prefix associated to namespace URI nsref . |
void |
XoDMInstance.importDMInstance(XoDMInstance edm,
XoContainer ppos)
Imports entire content copy of external DM instance edm
as child of container param ppos . note that this is a deep copy made
from content tree that is added as child of ppos |
XoDMInstance |
XoDMInstance.exportDMInstance(XoRoot rpos)
Creates a new DM instance and sets its content with a deep copy of a rootable object of this .
|
XoObject |
XoDMInstance.cloneXoObject(XoObject xo,
boolean deep)
Clones an XO object belonging to this . |
XoObject |
XoDMInstance.addChild(XoObject child,
XoContainer parent)
Appends param child to the list of children of param parent .
|
XoObject |
XoDMInstance.addChild(XoObject child,
XoContainer parent,
int index)
Inserts param child to the list of children of param parent at specified index .
|
XoObject |
XoDMInstance.remove(XoObject xo)
Removes XO object param xo and its sub-tree from this . |
XoDataType |
XoDMInstance.request(java.lang.String reqIdOrXPath,
XoNode ctx,
java.util.Map xpathVars)
performs an XPath request from context node ctx , using an optional map of XPath variables xpathVars . |
XoNode[] |
XoDMInstance.requestXoNodes(java.lang.String reqIdOrXPath,
XoNode ctx,
java.util.Map vars)
The same as request( reqIdOrXPath, ctx, vars ) except that result is transformed in an array of
XoNode objects. |
java.lang.Class |
XoDMInstance.getClassResource(java.lang.String clname)
Loads a class searched in classpaths of internal resource refs. |
java.net.URL |
XoDMInstance.getResourceURL(java.lang.String path)
Searches URL corresponding to a path string seeked in internal resource refs. |
void |
XoDMInstance.addResourceRef(java.net.URL resUrl)
Adds a resource path URL to the local class loader. |
void |
XoDMInstance.transferResourceRefs(XoDMInstance extdm)
Copy into an external DM instance the list of all local resource path URLs. |
void |
XoDMInstance.save(java.net.URL url)
Saves this as XML document on URL specified by url param. |
void |
XoDMInstance.save()
Saves this as XML document using URL provided by XoDMInstance.getSourceLocation() |
void |
XoDMInstance.save(java.io.OutputStream os)
Saves this as XML document into output stream os |
void |
XoDMInstance.save(java.io.Writer wr)
Saves this as XML document into writer wr . |
int |
XoContainer.addXoChild(XoObject child,
int index)
Adds an XO Object as child, at index specified by index param. |
java.lang.Object |
XoProperty.getValue()
Gets the value of this property in a thread-safe way. |
void |
XoProperty.setValue(java.lang.Object value)
Sets the value of this property in a thread-safe way. |
void |
XoProperty.setValueAsText(java.lang.String text)
Sets the value of this property from a string in a thread-safe way. |
java.lang.String |
XoProperty.getValueAsText()
Gets the value of this property as a string. |
Constructors in com.virtualweaver.xotics.datamodel that throw XoException | |
XoEnvironment()
Standard constructor, creates a valid environment composed with respectively one instance of a Factory, Registry, class loader and Log Buffer. |
|
XoEnvironment(boolean applet)
Special constructor, to use when this is embedded in an Applet. |
Uses of XoException in com.virtualweaver.xotics.datamodel.xpath |
Methods in com.virtualweaver.xotics.datamodel.xpath that throw XoException | |
XoDataType |
XpFunction.evaluate(XpContext ectx,
XpEvaluable[] arguments)
executes this function, with current XPath context and an array of arguments as XpEvaluable objects |
XoDataType |
XpEvaluable.evaluate(XpContext ectx)
Performs some computation with dynamic context as execution environment, in order to produce an XPath compatible value. |
Uses of XoException in com.virtualweaver.xotics.datamodel.xpath.function |
Methods in com.virtualweaver.xotics.datamodel.xpath.function that throw XoException | |
XoDataType |
XpfAbstractFunction.evaluate(XpContext ectx,
XpEvaluable[] arguments)
This method resolves arguments by calling XpEvaluable.evaluate(XpContext) ,
then call XpfAbstractFunction.evaluate(XpContext, XoDataType[]) with resolved arguments. |
XoDataType |
XpfAbstractFunction.evaluate(XpContext ectx,
XoDataType[] args)
default implementation consists in implementing this method. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |