A C D E G H M N O P R S T V X

A

AbstractNamespaceContext - Class in com.marsching.flexiparse.util
Base class providing common code for all implementations of NamespaceContext.
AbstractNamespaceContext() - Constructor for class com.marsching.flexiparse.util.AbstractNamespaceContext
 
addChild(MutableObjectTreeElement) - Method in class com.marsching.flexiparse.objecttree.DefaultMutableObjectTreeElement
 
addChild(MutableObjectTreeElement) - Method in interface com.marsching.flexiparse.objecttree.MutableObjectTreeElement
Registers another node as a child node of this node.
addConfigurationSource(InputSource) - Method in class com.marsching.flexiparse.parser.XMLConfiguredParser
Adds all handlers specified in the configuration file to this parser.
addConfigurationSource(InputSource, ClassLoader) - Method in class com.marsching.flexiparse.parser.XMLConfiguredParser
Adds all handlers specified in the configuration file to this parser.
addConfigurationSources(Collection<? extends InputSource>) - Method in class com.marsching.flexiparse.parser.XMLConfiguredParser
Adds all handlers specified in all the configuration files to this parser.
addElementMappingConfiguration(ElementMappingConfiguration) - Method in interface com.marsching.flexiparse.parser.Parser
Adds an element mapping configuration to this parser.
addElementMappingConfiguration(ElementMappingConfiguration) - Method in class com.marsching.flexiparse.parser.SimpleParser
 
addNodeHandler(NodeHandler) - Method in interface com.marsching.flexiparse.parser.Parser
Adds a node handler to this parser.
addNodeHandler(NodeHandler) - Method in class com.marsching.flexiparse.parser.SimpleParser
 
addObject(Object) - Method in class com.marsching.flexiparse.objecttree.DefaultMutableObjectTreeElement
 
addObject(Object) - Method in interface com.marsching.flexiparse.objecttree.ObjectTreeElement
Attaches the given object to this node.
AttributeMappingConfiguration - Interface in com.marsching.flexiparse.xml2object.configuration
Stores the configuration for the mapping of an XML attribute to a Java type.

C

ClasspathConfiguredParser - Class in com.marsching.flexiparse.parser
Parser implementation that loads the configuration using the context class loader.
ClasspathConfiguredParser() - Constructor for class com.marsching.flexiparse.parser.ClasspathConfiguredParser
Default constructor, looks for configuration at "com/marsching/flexiparse/configuration/configuration.xml".
ClasspathConfiguredParser(String) - Constructor for class com.marsching.flexiparse.parser.ClasspathConfiguredParser
Creates a parser instance using the specified configuration location.
com.marsching.flexiparse.configuration - package com.marsching.flexiparse.configuration
Configuration objects for fleXiParse handlers.
com.marsching.flexiparse.objecttree - package com.marsching.flexiparse.objecttree
Object tree classes.
com.marsching.flexiparse.parser - package com.marsching.flexiparse.parser
Parsers and handlers.
com.marsching.flexiparse.parser.exception - package com.marsching.flexiparse.parser.exception
Exceptions thrown during the parsing process.
com.marsching.flexiparse.util - package com.marsching.flexiparse.util
Utility classes.
com.marsching.flexiparse.xml2object.configuration - package com.marsching.flexiparse.xml2object.configuration
Configuration objects for XML to object mapping support.
com.marsching.flexiparse.xml2object.parser - package com.marsching.flexiparse.xml2object.parser
Parser for XML to object mapping support.

D

DefaultMutableObjectTreeElement - Class in com.marsching.flexiparse.objecttree
Default implementation of the MutableObjectTreeElement interface.
DefaultMutableObjectTreeElement(MutableObjectTreeElement) - Constructor for class com.marsching.flexiparse.objecttree.DefaultMutableObjectTreeElement
Creates a new instance setting the parent property using the supplied argument.
DisableParsingFlag - Class in com.marsching.flexiparse.objecttree
Flag class for controlling the parser using the object tree.
DisableParsingFlag() - Constructor for class com.marsching.flexiparse.objecttree.DisableParsingFlag
 
documentBuilder - Variable in class com.marsching.flexiparse.parser.SimpleParser
Document builder instance used for XML operations by this parser
DOMBasedNamespaceContext - Class in com.marsching.flexiparse.util
Provides namespace information from a DOM document.
DOMBasedNamespaceContext(Node) - Constructor for class com.marsching.flexiparse.util.DOMBasedNamespaceContext
Creates a namespace context that provides the namespace information valid for the supplied node.

E

ElementMappingConfiguration - Interface in com.marsching.flexiparse.xml2object.configuration
Stores the configuration for a mapping of an XML element to a Java type.

G

getAppend() - Method in interface com.marsching.flexiparse.xml2object.configuration.TextMappingConfiguration
Returns true if several text nodes (in the same context) should be concatenated in order to build the final string and false if following text nodes should be handled independently.
getAttributeName() - Method in interface com.marsching.flexiparse.xml2object.configuration.AttributeMappingConfiguration
Returns the (local) name of the XML attribute that is matched by this configuration.
getAttributeNamespace() - Method in interface com.marsching.flexiparse.xml2object.configuration.AttributeMappingConfiguration
Returns the namespace URI of the XML attribute that is matched by this configuration.
getChildMappings() - Method in interface com.marsching.flexiparse.xml2object.configuration.ElementMappingConfiguration
Returns configurations for child mappings.
getChildren() - Method in class com.marsching.flexiparse.objecttree.DefaultMutableObjectTreeElement
 
getChildren() - Method in interface com.marsching.flexiparse.objecttree.MutableObjectTreeElement
Returns all children of this node.
getChildren() - Method in interface com.marsching.flexiparse.objecttree.ObjectTreeElement
Returns all children of this node.
getConfiguration() - Method in interface com.marsching.flexiparse.configuration.HandlerConfigurationProvider
Returns the configuration for this object.
getConfiguration() - Method in class com.marsching.flexiparse.xml2object.parser.XML2ObjectNodeHandler
 
getDeepSearch() - Method in interface com.marsching.flexiparse.xml2object.configuration.ElementMappingConfiguration
Specifies, whether to look for child elements only one level below the parent element (matching this mapping) or also in deeper levels.
getElementMappingConfigurations() - Method in interface com.marsching.flexiparse.parser.Parser
Returns all element mapping configurations that are active for this parser.
getElementMappingConfigurations() - Method in class com.marsching.flexiparse.parser.SimpleParser
 
getElementName() - Method in interface com.marsching.flexiparse.xml2object.configuration.ElementMappingConfiguration
Returns the (local) name of the XML element matched by this configuration.
getElementNamespace() - Method in interface com.marsching.flexiparse.xml2object.configuration.ElementMappingConfiguration
Returns the namespace URI of the XML element matched by this configuration.
getFollowingHandlers() - Method in interface com.marsching.flexiparse.configuration.HandlerConfiguration
Returns a list of handlers that, if present, should be called after the handler associated with this configuration.
getHandlerOrder(Collection<NodeHandler>) - Method in class com.marsching.flexiparse.parser.SimpleParser
Determines the order in which the handlers should be called.
getIdentifier() - Method in interface com.marsching.flexiparse.configuration.HandlerConfiguration
Returns a globally unique identifier for the handler.
getIgnoreWhiteSpaceNodes() - Method in interface com.marsching.flexiparse.xml2object.configuration.TextMappingConfiguration
Returns true if text nodes that contain white space only, should be ignored and false otherwise.
getMaxOccurs() - Method in interface com.marsching.flexiparse.xml2object.configuration.MappingConfiguration
Returns the maximum number of times a node matched by this mapping can appear.
getMinOccurs() - Method in interface com.marsching.flexiparse.xml2object.configuration.MappingConfiguration
Returns the minimum number of times a node matched by this mapping has to appear.
getNamespaceURI(String) - Method in class com.marsching.flexiparse.util.AbstractNamespaceContext
Get Namespace URI bound to a prefix in the current scope.
getNamespaceURI(String) - Method in class com.marsching.flexiparse.util.DOMBasedNamespaceContext
 
getNamespaceURI(String) - Method in class com.marsching.flexiparse.util.MapBasedNamespaceContext
 
getNode() - Method in interface com.marsching.flexiparse.parser.HandlerContext
Returns current node.
getNodeHandlers() - Method in interface com.marsching.flexiparse.parser.Parser
Returns all node handlers configured for this parser.
getNodeHandlers() - Method in class com.marsching.flexiparse.parser.SimpleParser
 
getObjects() - Method in class com.marsching.flexiparse.objecttree.DefaultMutableObjectTreeElement
 
getObjects() - Method in interface com.marsching.flexiparse.objecttree.ObjectTreeElement
Returns objects attached directly to this node.
getObjectsOfType(Class<? extends T>) - Method in class com.marsching.flexiparse.objecttree.DefaultMutableObjectTreeElement
 
getObjectsOfType(Class<? extends T>) - Method in interface com.marsching.flexiparse.objecttree.ObjectTreeElement
Returns objects of specified type attached directly to this node.
getObjectsOfTypeFromSubTree(Class<? extends T>) - Method in class com.marsching.flexiparse.objecttree.DefaultMutableObjectTreeElement
 
getObjectsOfTypeFromSubTree(Class<? extends T>) - Method in interface com.marsching.flexiparse.objecttree.ObjectTreeElement
Returns objects attached to this node and all child nodes (recursively).
getObjectsOfTypeFromTopTree(Class<? extends T>) - Method in class com.marsching.flexiparse.objecttree.DefaultMutableObjectTreeElement
 
getObjectsOfTypeFromTopTree(Class<? extends T>) - Method in interface com.marsching.flexiparse.objecttree.ObjectTreeElement
Returns objects attached to this node and all parent nodes up to the root node of the tree.
getObjectTreeElement() - Method in interface com.marsching.flexiparse.parser.HandlerContext
Returns the current object tree node.
getParent() - Method in class com.marsching.flexiparse.objecttree.DefaultMutableObjectTreeElement
 
getParent() - Method in interface com.marsching.flexiparse.objecttree.MutableObjectTreeElement
Returns the parent of this node.
getParent() - Method in interface com.marsching.flexiparse.objecttree.ObjectTreeElement
Returns the parent of this node.
getPrecedingHandlers() - Method in interface com.marsching.flexiparse.configuration.HandlerConfiguration
Returns a list of handlers that, if present, should be called before the handler associated with this configuration.
getPrefix(String) - Method in class com.marsching.flexiparse.util.AbstractNamespaceContext
Get prefix bound to Namespace URI in the current scope.
getPrefix(String) - Method in class com.marsching.flexiparse.util.DOMBasedNamespaceContext
 
getPrefix(String) - Method in class com.marsching.flexiparse.util.MapBasedNamespaceContext
 
getPrefixes(String) - Method in class com.marsching.flexiparse.util.AbstractNamespaceContext
Get all prefixes bound to a Namespace URI in the current scope.
getPrefixes(String) - Method in class com.marsching.flexiparse.util.DOMBasedNamespaceContext
 
getPrefixes(String) - Method in class com.marsching.flexiparse.util.MapBasedNamespaceContext
 
getRoot() - Method in class com.marsching.flexiparse.objecttree.DefaultMutableObjectTreeElement
 
getRoot() - Method in interface com.marsching.flexiparse.objecttree.MutableObjectTreeElement
Returns the root node of the tree this node belongs to.
getRoot() - Method in interface com.marsching.flexiparse.objecttree.ObjectTreeElement
Returns the root node of the tree this node belongs to.
getRoot() - Method in interface com.marsching.flexiparse.objecttree.SubObjectTree
Returns the root node of the subtree provided by this object.
getRunOrder() - Method in interface com.marsching.flexiparse.configuration.HandlerConfiguration
Indicates whether to run the handler before or after processing the child nodes of the node matched by this handler.
getRunOrder() - Method in interface com.marsching.flexiparse.parser.HandlerContext
Returns the current processing state (child nodes not yet processed or child nodes already processed).
getTargetAttribute() - Method in interface com.marsching.flexiparse.xml2object.configuration.MappingConfiguration
Returns the name of the attribute that should be set to the value represented by the data matching this mapping.
getTargetType() - Method in interface com.marsching.flexiparse.xml2object.configuration.MappingConfiguration
Returns the name of the type the data matched by this configuration is mapped to.
getTargetTypeClassLoader() - Method in interface com.marsching.flexiparse.xml2object.configuration.MappingConfiguration
Returns the class loader that should be used in order to load the class of the target type or null if the context class loader should be used.
getXPathExpressions() - Method in interface com.marsching.flexiparse.configuration.HandlerConfiguration
Returns a list of XPathExpressions that will be used to match nodes in the parsed document.

H

handleNode(HandlerContext) - Method in interface com.marsching.flexiparse.parser.ParsingHandler
Called for every matching node.
handleNode(HandlerContext) - Method in class com.marsching.flexiparse.xml2object.parser.XML2ObjectNodeHandler
 
HandlerConfiguration - Interface in com.marsching.flexiparse.configuration
Contains configuration information for a NodeHandler.
HandlerConfigurationProvider - Interface in com.marsching.flexiparse.configuration
Common interface for all objects that can provide a HandlerConfiguration.
HandlerContext - Interface in com.marsching.flexiparse.parser
Provides context information to a ParsingHandler.

M

MapBasedNamespaceContext - Class in com.marsching.flexiparse.util
Implementation of NamespaceContext backed by a prefix to URI map.
MapBasedNamespaceContext(Map<? extends String, ? extends String>) - Constructor for class com.marsching.flexiparse.util.MapBasedNamespaceContext
Create an instance using the supplied map
MappingConfiguration - Interface in com.marsching.flexiparse.xml2object.configuration
Common base interface for all mapping configurations.
mappingConfigurations - Variable in class com.marsching.flexiparse.parser.SimpleParser
Stores the XML to object mapping configurations for this parser
MutableObjectTreeElement - Interface in com.marsching.flexiparse.objecttree
ObjectTreeElement that can be modified.

N

NodeHandler - Interface in com.marsching.flexiparse.parser
Instances of this interface are used by parsers to parse XML files.
nodeHandlers - Variable in class com.marsching.flexiparse.parser.SimpleParser
Stores node handlers configured for this parser

O

ObjectTreeElement - Interface in com.marsching.flexiparse.objecttree
Represents a node in an object tree.
OSGiAwareParser - Class in com.marsching.flexiparse.parser
Parser implementation that looks for configuration files in OSGi bundles and uses the class loader of the file's bundle to load classes.
OSGiAwareParser(BundleContext) - Constructor for class com.marsching.flexiparse.parser.OSGiAwareParser
Default constructor, looks for configuration at "META-INF/com/marsching/flexiparse/configuration/configuration.xml".
OSGiAwareParser(BundleContext, String) - Constructor for class com.marsching.flexiparse.parser.OSGiAwareParser
Creates a parser instance using the specified configuration location.

P

parse(Document, Object...) - Method in interface com.marsching.flexiparse.parser.Parser
Parses a DOM document.
parse(File, Object...) - Method in interface com.marsching.flexiparse.parser.Parser
Parses a DOM document.
parse(InputStream, Object...) - Method in interface com.marsching.flexiparse.parser.Parser
Parses a XML document provided by a input stream.
parse(InputSource, Object...) - Method in interface com.marsching.flexiparse.parser.Parser
Parses a XML document obtained from an input source.
parse(Document, Object...) - Method in class com.marsching.flexiparse.parser.SimpleParser
 
parse(File, Object...) - Method in class com.marsching.flexiparse.parser.SimpleParser
 
parse(InputStream, Object...) - Method in class com.marsching.flexiparse.parser.SimpleParser
 
parse(InputSource, Object...) - Method in class com.marsching.flexiparse.parser.SimpleParser
 
Parser - Interface in com.marsching.flexiparse.parser
Parsers parse XML files and produce object trees .
ParserConfigurationException - Exception in com.marsching.flexiparse.parser.exception
Exception thrown if there is a problem with the configuration of a parser.
ParserConfigurationException(String, Throwable) - Constructor for exception com.marsching.flexiparse.parser.exception.ParserConfigurationException
Constructs a new exception with the specified detail message and cause.
ParserConfigurationException(String) - Constructor for exception com.marsching.flexiparse.parser.exception.ParserConfigurationException
Constructs a new exception with the specified detail message.
ParserConfigurationException(Throwable) - Constructor for exception com.marsching.flexiparse.parser.exception.ParserConfigurationException
Constructs a new exception with the specified cause and a detail message of (cause==null ?
ParserException - Exception in com.marsching.flexiparse.parser.exception
Root exception for all exceptions thrown by a parser.
ParserException(String, Throwable) - Constructor for exception com.marsching.flexiparse.parser.exception.ParserException
Constructs a new exception with the specified detail message and cause.
ParserException(String) - Constructor for exception com.marsching.flexiparse.parser.exception.ParserException
Constructs a new exception with the specified detail message.
ParserException(Throwable) - Constructor for exception com.marsching.flexiparse.parser.exception.ParserException
Constructs a new exception with the specified cause and a detail message of (cause==null ?
ParsingHandler - Interface in com.marsching.flexiparse.parser
Parsing handlers are called by the Parser for matching XML nodes.

R

readConfiguration(InputSource, ClassLoader) - Method in class com.marsching.flexiparse.parser.XMLConfigurationReader
Parses the file provided by the InputSource and configures the parser attached to this reader using the configuration data in the file.
readConfiguration(InputSource) - Method in class com.marsching.flexiparse.parser.XMLConfigurationReader
Parses the file provided by the InputSource and configures the parser attached to this reader using the configuration data in the file.
removeChild(MutableObjectTreeElement) - Method in class com.marsching.flexiparse.objecttree.DefaultMutableObjectTreeElement
 
removeChild(MutableObjectTreeElement) - Method in interface com.marsching.flexiparse.objecttree.MutableObjectTreeElement
Removes the specified child from this node.
removeElementMappingConfiguration(ElementMappingConfiguration) - Method in interface com.marsching.flexiparse.parser.Parser
Removes an element mapping configuration from this parser.
removeElementMappingConfiguration(ElementMappingConfiguration) - Method in class com.marsching.flexiparse.parser.SimpleParser
 
removeNodeHandler(NodeHandler) - Method in interface com.marsching.flexiparse.parser.Parser
Removes a handler from this parser.
removeNodeHandler(NodeHandler) - Method in class com.marsching.flexiparse.parser.SimpleParser
 
removeObject(Object) - Method in class com.marsching.flexiparse.objecttree.DefaultMutableObjectTreeElement
 
removeObject(Object) - Method in interface com.marsching.flexiparse.objecttree.ObjectTreeElement
Removes a object from this node.
RunOrder - Enum in com.marsching.flexiparse.configuration
Specifies the run order for a handler.

S

SimpleParser - Class in com.marsching.flexiparse.parser
Simple implementation of the Parser interface.
SimpleParser() - Constructor for class com.marsching.flexiparse.parser.SimpleParser
Creates a parser without any handlers.
SubObjectTree - Interface in com.marsching.flexiparse.objecttree
Interface implemented by objects that provide a subtree of ObjectTreeElements.

T

TextMappingConfiguration - Interface in com.marsching.flexiparse.xml2object.configuration
Stores configuration for a mapping from an XML text node to a Java type.

V

valueOf(String) - Static method in enum com.marsching.flexiparse.configuration.RunOrder
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.marsching.flexiparse.configuration.RunOrder
Returns an array containing the constants of this enum type, in the order they are declared.

X

XML2ObjectNodeHandler - Class in com.marsching.flexiparse.xml2object.parser
Generic node handler using mapping configurations to create objects in the object tree from XML data.
XML2ObjectNodeHandler(Collection<? extends ElementMappingConfiguration>) - Constructor for class com.marsching.flexiparse.xml2object.parser.XML2ObjectNodeHandler
Create a new instance using the supplied mapping configurations.
XMLConfigurationReader - Class in com.marsching.flexiparse.parser
Reads a XML configuration file and returns handler configurations.
XMLConfigurationReader(Parser) - Constructor for class com.marsching.flexiparse.parser.XMLConfigurationReader
Constructs a new configuration reader that will configure the supplied parser when the XMLConfigurationReader.readConfiguration(InputSource) method is called.
XMLConfiguredParser - Class in com.marsching.flexiparse.parser
Parser implementation that is configured using XML configuration files.
XMLConfiguredParser() - Constructor for class com.marsching.flexiparse.parser.XMLConfiguredParser
 

A C D E G H M N O P R S T V X

Copyright © 2008-2009. All Rights Reserved.