Package org.oddjob.arooa.parsing
package org.oddjob.arooa.parsing
Classes concerning the parsing a configurations.
-
ClassDescriptionAbstractConfigurationNode<P extends ParseContext<P>>Implementation of common
ConfigurationNodefunctionality.AbstractConfigurationNode.ChainingConfigurationHandle<P extends ParseContext<P>,Q extends ParseContext<Q>> This ConfigurationHandle survives the replacement of this ConfigurationNode which is what happens in order to save changes.Encapsulate the attributes of an element.Provides a 'context' for parsing an element.Represent an element, which is an abstract of an XML element but XML agnostic, so that an Arooa configuration could be anything, not just XML.Something that is able to handle configuration events.Parse Handle for anArooaContext.ChildCatcher<P extends ParseContext<P>>Capture the child context of a current context;AConfigurationSessionfor anArooaConfiguration.Event for aConfigurationOwner.Event for aConfigurationSessionSomething, typically a component, that is able to provide editing facilities for an ArooaConfiguration.Helper class forConfigurationOwners.Something that is able to provide everything required to edit anArooaConfiguration.Helper class forConfigurationSessions.AConfigurationSessionbased on theArooaContext.This class appears to be redundant.Provide support for Cutting and Pasting from any form of parsedArooaConfiguration.CutAndPasteSupport.ReplaceResult<P extends ParseContext<P>>Result for replace.ADragPointfor anArooaConfiguration.ADragPointfor anArooaContext.A point in a configuration that supports drag and drop/cut and paste.Allows changes to registered components to happen in an atomic fashion.DragTransactionManager<T extends DragTransaction>Provides management of aDragTransaction.An exception used when creation fails.Create anArooaConfigurationout of a single element.ElementHandler<P extends ParseContext<P>>Something that is able to handle configuration events.Provide Prefix Mappings from aNamespaceMappingssuch as anArooaDescriptor, but also fallback to Mappings remembered from Parsing.AConfigurationSessionthat works with anArooaSessionand aConfigurationHandlethat was the result of a parse that acted on the session.Stores the location of a piece of text within a file (file name, line number and column number).MutableArooaAttributes.Provide mappings for XML namespaces.OverrideContext<P extends ParseContext<P>>Wraps anArooaContextto allow behaviour to be altered.Listen toConfigurationOwnerstate changes.ParseContext<P extends ParseContext<P>>A context in which anArooaConfigurationis parsed.ParseHandle<P extends ParseContext<P>>Allow Rollback of Parsing.Also parsing to be rolled back.Provides a mapping from a namespace prefix to the URI.Abstraction of the mappings from prefix to URI.Represents a element as a prefix and a tag name.A Context for the parsing.Designed to be partially overridden to modify behaviour.AnArooaContextthat provides a new session but delegate all other methods to an existing context.Listen toConfigurationSessionstate changes.A Simple Parse Context.Handles accumulating text from XML text nodes during parsing.Provides a mapping from the name space URI to the prefix.