Verwendungen von Klasse
org.apache.torque.generator.source.SourceElement
Packages, die SourceElement verwenden
Package
Beschreibung
This package contains the handling of source files.
This package implements sources which read from jdbc.
This package contains the handling of stream-based sources,
such as file sources.
This package contains the definition of source transformers
and some implementations.
This package contains the handling of velocity outlets in the
Torque generator.
-
Verwendungen von SourceElement in org.apache.torque.generator.source
Methoden in org.apache.torque.generator.source, die SourceElement zurückgebenModifizierer und TypMethodeBeschreibungSourceElement.copy()
Creates a deep copy of this RichSourceelementImpl object.protected abstract SourceElement
SourceImpl.createRootElement()
Reads the root element and the whole untransformed source tree.Returns the first child of this SourceElement which has the given name.SourceElement.getChild
(SourceElementName sourceElementName) Returns the first child of this SourceElement which has the given name.static SourceElement
SourcePath.getElement
(SourceElement sourceElement, String path, boolean acceptEmpty) Gets a single source element which can be reached from the start element by a given path.SourceElement.getFirstChild()
Returns the first child of this source element.SourceElement.getFollowingSourceElement
(SourceElement parent) Returns the following element after this element If this element has no parent, null is returned.SourceElement.getLastChild()
Returns the last child of this source element.SourceElement.getParent()
Returns the primary parent of this SourceElement.SourceElement.getPrecedingSourceElement
(SourceElement parent) Returns the preceding element after this element.Source.getRootElement()
Returns the root element of the source.SourceImpl.getRootElement()
Methoden in org.apache.torque.generator.source, die Typen mit Argumenten vom Typ SourceElement zurückgebenModifizierer und TypMethodeBeschreibungSourceElement.getChildren()
Returns all children of this SourceElement.SourceElement.getChildren
(String name) Returns all children of this SourceElement which have the given name.SourceElement.getChildren
(SourceElementName sourceElementName) Returns all children of this SourceElement which have the given name.static List<SourceElement>
SourcePath.getElements
(SourceElement sourceElement, String path) Gets the elements which can be reached from the start element by a given path.static List<SourceElement>
SourcePath.getElementsFromRoot
(SourceElement rootElement, String path) Gets the elements which can be reached from the root element by a given path.SourceElement.getFollowing
(String name) Returns all the following elements after this element with the given name.static List<SourceElement>
SourcePath.getFollowing
(SourceElement sourceElement, String name) Returns all the following elements in the child list of the default parent which appear after this element with the given name.SourceElement.getParents()
Returns the list of parents of this SourceElement.SourceElement.getPreceding
(String name) Returns all the preceding elements before this element with the given name.static List<SourceElement>
SourcePath.getPreceding
(SourceElement sourceElement, String name) Returns all the preceding elements in the child list of the default parent which appear before this element with the given name.protected static ListIterator<SourceElement>
SourcePath.getSiblingIteratorPositionedOnSelf
(SourceElement sourceElement, SourceElement parent) Returns a ListIterator of the siblings of the input source element.Methoden in org.apache.torque.generator.source mit Parametern vom Typ SourceElementModifizierer und TypMethodeBeschreibungstatic SourceElement
SourcePath.getElement
(SourceElement sourceElement, String path, boolean acceptEmpty) Gets a single source element which can be reached from the start element by a given path.static List<SourceElement>
SourcePath.getElements
(SourceElement sourceElement, String path) Gets the elements which can be reached from the start element by a given path.static List<SourceElement>
SourcePath.getElementsFromRoot
(SourceElement rootElement, String path) Gets the elements which can be reached from the root element by a given path.static List<SourceElement>
SourcePath.getFollowing
(SourceElement sourceElement, String name) Returns all the following elements in the child list of the default parent which appear after this element with the given name.SourceElement.getFollowingSourceElement
(SourceElement parent) Returns the following element after this element If this element has no parent, null is returned.static Object
SourcePath.getObject
(SourceElement root, String pathToBase, SourceElement sourceElement, String path, boolean acceptEmpty) Gets a single source element which can be reached from the start element by a given path.static String
SourcePath.getPathAsString
(SourceElement sourceElement) Returns the path from the root element to the source element.static List<SourceElement>
SourcePath.getPreceding
(SourceElement sourceElement, String name) Returns all the preceding elements in the child list of the default parent which appear before this element with the given name.SourceElement.getPrecedingSourceElement
(SourceElement parent) Returns the preceding element after this element.protected static ListIterator<SourceElement>
SourcePath.getSiblingIteratorPositionedOnSelf
(SourceElement sourceElement, SourceElement parent) Returns a ListIterator of the siblings of the input source element.boolean
SourceElement.graphEquals
(SourceElement toCompare) Checks whether the source element graph of this sourceElement, and its position therein, equals the source element graph and the position of the provided SourceElement.static boolean
SourcePath.hasChild
(SourceElement sourceElement, String name) Returns whether children with the given name exist.static boolean
SourcePath.hasFollowing
(SourceElement sourceElement) Returns whether a following element exists as a child of the parent of this element.static boolean
SourcePath.hasFollowingSibling
(SourceElement sourceElement) Returns whether a following element exists as a child of the parent of this element, which has the same name as this source element.static boolean
SourcePath.hasPreceding
(SourceElement sourceElement) Returns whether an preceding exists as a child of the parent of this element.static boolean
SourcePath.hasPrecedingSibling
(SourceElement sourceElement) Returns whether an preceding exists as a child of the parent of this element, which has the same name as this source element.static boolean
SourceElementNodePointer.testSourceElement
(SourceElement sourceElement, org.apache.commons.jxpath.ri.compiler.NodeTest test) Test a Node.Konstruktoren in org.apache.torque.generator.source mit Parametern vom Typ SourceElementModifiziererKonstruktorBeschreibungSourceElementAttributePointer
(org.apache.commons.jxpath.ri.model.NodePointer parent, SourceElement sourceElement, String name) Constructor.protected
SourceElementNodePointer
(org.apache.commons.jxpath.ri.model.NodePointer parent, SourceElement sourceElement) protected
SourceElementNodePointer
(SourceElement sourceElement, Locale locale) -
Verwendungen von SourceElement in org.apache.torque.generator.source.jdbc
Methoden in org.apache.torque.generator.source.jdbc, die SourceElement zurückgebenModifizierer und TypMethodeBeschreibungprotected SourceElement
JdbcMetadataSource.createRootElement()
-
Verwendungen von SourceElement in org.apache.torque.generator.source.stream
Methoden in org.apache.torque.generator.source.stream, die SourceElement zurückgebenModifizierer und TypMethodeBeschreibungCombinedFileSource.createRootElement()
Reads and parses the input file and creates the element tree from it.FileSource.createRootElement()
Reads and parses the input file and creates the element tree from it.XmlSourceSaxHandler.getRoot()
Returns the root element of the tree.PropertiesSourceFormat.parse
(InputStream inputStream, ControllerState controllerState) Parses a Stream in Properties format and returns the root element of the created element tree.StreamSourceFormat.parse
(InputStream inputStream, ControllerState controllerState) Parses a source file and returns its root element.XmlSourceFormat.parse
(InputStream xmlStream, ControllerState controllerState) Parses a stream containing xml data and creates a source element hierarchy from it.Methoden in org.apache.torque.generator.source.stream mit Parametern vom Typ SourceElementModifizierer und TypMethodeBeschreibungSourceToXml.toXml
(SourceElement rootElement, boolean createIdAttributes) Renders a source element and its children as XML. -
Verwendungen von SourceElement in org.apache.torque.generator.source.transform
Methoden in org.apache.torque.generator.source.transform, die SourceElement zurückgebenModifizierer und TypMethodeBeschreibungBeanPropertyMethodNameTransformer.transform
(Object rootObject, ControllerState controllerState) Fills the target attribute according to the settings.CopyAttributeTransformer.transform
(Object rootObject, ControllerState controllerState) Fills the target attribute according to the settings.GetterSetterNameTransformer.transform
(Object rootObject, ControllerState controllerState) Fills the target attributes according to the settings.LoadAdditionalSourceTransformer.transform
(Object rootObject, ControllerState controllerState) Loads the additional source into the current source graph. -
Verwendungen von SourceElement in org.apache.torque.generator.template.velocity
Methoden in org.apache.torque.generator.template.velocity, die SourceElement zurückgebenModifizierer und TypMethodeBeschreibungReturns the first child of the current source element with the given name.TorqueGenVelocity.getParent()
Returns the parent of the current source element.TorqueGenVelocity.getSourceElement()
Returns the current source element, if it is a SourceElement.Methoden in org.apache.torque.generator.template.velocity, die Typen mit Argumenten vom Typ SourceElement zurückgebenModifizierer und TypMethodeBeschreibungTorqueGenVelocity.getChildren()
Returns all children of the current source element.TorqueGenVelocity.getChildren
(String name) Returns the children of the current source element with a certain name.