Uses of Interface
javax.xml.transform.SourceLocator
| Package | Description |
|---|---|
| javax.xml.transform | |
| javax.xml.transform.dom | |
| org.apache.xalan.processor |
Parses an XSLT stylesheet document (which may include and import other stylesheet documents) and produces a StylesheetRoot
(a TRaX Templates object).
|
| org.apache.xalan.templates |
Implements the
Templates interface,
and defines a set of classes that represent an XSLT stylesheet. |
| org.apache.xalan.transformer |
In charge of run-time transformations and the production of result trees.
|
| org.apache.xml.dtm | |
| org.apache.xml.dtm.ref | |
| org.apache.xml.dtm.ref.dom2dtm | |
| org.apache.xml.dtm.ref.sax2dtm | |
| org.apache.xml.serializer |
Processes SAX events into streams.
|
| org.apache.xml.utils |
Implementation of Xalan utility classes.
|
| org.apache.xpath |
Implementation of XPath; for the most part, only classes meant for public use are
found at this root level of the XPath packages.
|
| org.apache.xpath.axes |
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
|
| org.apache.xpath.compiler |
Implements an XPath parser which produces an OpMap, and a so-called Compiler
which produces an expression tree for fast evaluation.
|
| org.apache.xpath.domapi | |
| org.apache.xpath.functions |
Implements XPath functions -- each function is derived from Function,
FunctionOneArg, Function2Args, etc, with number-of-arguments checking being
applied mainly at compile time -- this package only implements XPath functions,
XSLT functions are found in the "templates" package.
|
| org.apache.xpath.objects |
Implementation of XPath polymorphic type objects -- this package will grow
as XPath objects are expanded to support XML Schema data types.
|
| org.apache.xpath.operations |
Support for XPath operations, such as +, -, string(), etc.
|
| org.apache.xpath.patterns |
Implementation of XPath nodeTest support, and XSLT pattern matching support.
|
-
Uses of SourceLocator in javax.xml.transform
Methods in javax.xml.transform that return SourceLocator Modifier and Type Method Description SourceLocatorTransformerException. getLocator()Method getLocator retrieves an instance of a SourceLocator object that specifies where an error occurred.Methods in javax.xml.transform with parameters of type SourceLocator Modifier and Type Method Description voidTransformerException. setLocator(SourceLocator location)Method setLocator sets an instance of a SourceLocator object that specifies where an error occurred.Constructors in javax.xml.transform with parameters of type SourceLocator Constructor Description TransformerConfigurationException(String message, SourceLocator locator)Create a new TransformerConfigurationException from a message and a Locator.TransformerConfigurationException(String message, SourceLocator locator, Throwable e)Wrap an existing exception in a TransformerConfigurationException.TransformerException(String message, SourceLocator locator)Create a new TransformerException from a message and a Locator.TransformerException(String message, SourceLocator locator, Throwable e)Wrap an existing exception in a TransformerException. -
Uses of SourceLocator in javax.xml.transform.dom
Subinterfaces of SourceLocator in javax.xml.transform.dom Modifier and Type Interface Description interfaceDOMLocatorIndicates the position of a node in a source DOM, intended primarily for error reporting. -
Uses of SourceLocator in org.apache.xalan.processor
Classes in org.apache.xalan.processor that implement SourceLocator Modifier and Type Class Description classProcessorCharactersThis class processes character events for a XSLT template element.classProcessorExsltFuncResultThis class processes parse events for an exslt func:result element.classProcessorExsltFunctionThis class processes parse events for an exslt func:function element.classProcessorImportThis class processes parse events for an xsl:import element.classProcessorIncludeTransformerFactory class for xsl:include markup.classProcessorLREProcesses an XSLT literal-result-element, or something that looks like one.classProcessorStylesheetDocThis class processes the xsl:stylesheet element.classProcessorStylesheetElementTransformerFactory for xsl:stylesheet or xsl:transform markup.classProcessorTemplateElemThis class processes parse events for an XSLT template element.classProcessorTextProcess xsl:text.classProcessorUnknownThis class processes an unknown template element.classWhitespaceInfoPathsclassXSLTElementProcessorThis class acts as the superclass for all stylesheet element processors, and deals with things that are common to all elements. -
Uses of SourceLocator in org.apache.xalan.templates
Classes in org.apache.xalan.templates that implement SourceLocator Modifier and Type Class Description classDecimalFormatPropertiesImplement xsl:decimal-format.classElemApplyImportImplement xsl:apply-imports.classElemApplyTemplatesImplement xsl:apply-templates.classElemAttributeImplement xsl:attribute.classElemAttributeSetImplement xsl:attribute-set.classElemCallTemplateImplement xsl:call-template.classElemChooseImplement xsl:choose.classElemCommentImplement xsl:comment.classElemCopyImplement xsl:copy.classElemCopyOfImplement xsl:copy-of.classElemElementImplement xsl:elementclassElemEmptySimple empty elem to push on the stack when nothing else got pushed, so that pop() works correctly.classElemExsltFuncResultHandles the EXSLT result element within an EXSLT function element.classElemExsltFunctionImplement func:function.classElemExtensionCallImplement an extension element.classElemExtensionDeclImplement the declaration of an extension elementclassElemExtensionScriptImplement Script extension elementclassElemFallbackImplement xsl:fallback.classElemForEachImplement xsl:for-each.classElemIfImplement xsl:if.classElemLiteralResultImplement a Literal Result Element.classElemMessageImplement xsl:message.classElemNumberImplement xsl:number.classElemOtherwiseImplement xsl:otherwise.classElemParamImplement xsl:param.classElemPIImplement xsl:processing-instruction.classElemSortImplement xsl:sort.classElemTemplateImplement xsl:template.classElemTemplateElementAn instance of this class represents an element inside an xsl:template class.classElemTextImplement xsl:template.classElemTextLiteralImplement a text literal.classElemUnknownImplement an unknown elementclassElemUseImplement xsl:use.classElemValueOfImplement xsl:value-of.classElemVariableImplement xsl:variable.classElemVariablePsuedoclassElemWhenImplement xsl:when.classElemWithParamImplement xsl:with-param.classFuncDocumentExecute the Doc() function.classFuncFormatNumbExecute the FormatNumber() function.classFuncKeyExecute the Key() function.classKeyDeclarationHolds the attribute declarations for the xsl:keys element.classNamespaceAliasObject to hold an xsl:namespace element.classOutputPropertiesThis class provides information from xsl:output elements.classStylesheetRepresents a stylesheet element.classStylesheetComposedRepresents a stylesheet that has methods that resolve includes and imports.classStylesheetRootThis class represents the root object of the stylesheet tree.classWhiteSpaceInfoThis is used as a special "fake" template that can be handled by the TemplateList to do pattern matching on nodes.classXUnresolvedVariableAn instance of this class holds unto a variable until it is executed.classXUnresolvedVariableSimpleThis is the same as XUnresolvedVariable, but it assumes that the context is already set up.Methods in org.apache.xalan.templates with parameters of type SourceLocator Modifier and Type Method Description voidElemTemplateElement. setEndLocaterInfo(SourceLocator locator)Set the end location information for this element.voidElemTemplate. setLocaterInfo(SourceLocator locator)Set the location information for this element.voidElemTemplateElement. setLocaterInfo(SourceLocator locator)Set the location information for this element.voidStylesheet. setLocaterInfo(SourceLocator locator)Set the location information for this element. -
Uses of SourceLocator in org.apache.xalan.transformer
Classes in org.apache.xalan.transformer that implement SourceLocator Modifier and Type Class Description classKeyIteratorThis class implements an optimized iterator for "key()" patterns, matching each node to the match attribute in one or more xsl:key declarations.Methods in org.apache.xalan.transformer with parameters of type SourceLocator Modifier and Type Method Description voidMsgMgr. error(SourceLocator srcLctr, String msg)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, String msg, Exception e)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, String msg, Object[] args)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, String msg, Object[] args, Exception e)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, Object[] args)Tell the user of an error, and probably throw an exception.voidMsgMgr. message(SourceLocator srcLctr, String msg, boolean terminate)Warn the user of a problem.voidMsgMgr. warn(SourceLocator srcLctr, String msg)Warn the user of a problem.voidMsgMgr. warn(SourceLocator srcLctr, String msg, Object[] args)Warn the user of a problem.voidMsgMgr. warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg)Warn the user of a problem.voidMsgMgr. warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, Object[] args)Warn the user of a problem. -
Uses of SourceLocator in org.apache.xml.dtm
Methods in org.apache.xml.dtm that return SourceLocator Modifier and Type Method Description SourceLocatorDTMException. getLocator()Method getLocator retrieves an instance of a SourceLocator object that specifies where an error occured.SourceLocatorDTM. getSourceLocatorFor(int node)Get the location of a node in the source document.Methods in org.apache.xml.dtm with parameters of type SourceLocator Modifier and Type Method Description voidDTMException. setLocator(SourceLocator location)Method setLocator sets an instance of a SourceLocator object that specifies where an error occured.Constructors in org.apache.xml.dtm with parameters of type SourceLocator Constructor Description DTMConfigurationException(String message, SourceLocator locator)Create a new DTMConfigurationException from a message and a Locator.DTMConfigurationException(String message, SourceLocator locator, Throwable e)Wrap an existing exception in a DTMConfigurationException.DTMException(String message, SourceLocator locator)Create a new DTMException from a message and a Locator.DTMException(String message, SourceLocator locator, Throwable e)Wrap an existing exception in a DTMException. -
Uses of SourceLocator in org.apache.xml.dtm.ref
Classes in org.apache.xml.dtm.ref that implement SourceLocator Modifier and Type Class Description classNodeLocatorNodeLocatormaintains information on an XML source node.Methods in org.apache.xml.dtm.ref that return SourceLocator Modifier and Type Method Description SourceLocatorDTMDocumentImpl. getSourceLocatorFor(int node)Source information is not handled yet, so returnnullhere. -
Uses of SourceLocator in org.apache.xml.dtm.ref.dom2dtm
Methods in org.apache.xml.dtm.ref.dom2dtm that return SourceLocator Modifier and Type Method Description SourceLocatorDOM2DTM. getSourceLocatorFor(int node)No source information is available for DOM2DTM, so returnnullhere. -
Uses of SourceLocator in org.apache.xml.dtm.ref.sax2dtm
Methods in org.apache.xml.dtm.ref.sax2dtm that return SourceLocator Modifier and Type Method Description SourceLocatorSAX2DTM. getSourceLocatorFor(int node)Retrieve the SourceLocator associated with a specific node. -
Uses of SourceLocator in org.apache.xml.serializer
Fields in org.apache.xml.serializer declared as SourceLocator Modifier and Type Field Description protected SourceLocatorSerializerBase. m_sourceLocatorMethods in org.apache.xml.serializer with parameters of type SourceLocator Modifier and Type Method Description voidExtendedContentHandler. setSourceLocator(SourceLocator locator)This method is used to set the source locator, which might be used to generated an error message.voidSerializerBase. setSourceLocator(SourceLocator locator)This method is used to set the source locator, which might be used to generated an error message.voidToUnknownStream. setSourceLocator(SourceLocator locator)This method is used to set the source locator, which might be used to generated an error message. -
Uses of SourceLocator in org.apache.xml.utils
Classes in org.apache.xml.utils that implement SourceLocator Modifier and Type Class Description classSAXSourceLocatorClass SAXSourceLocator extends org.xml.sax.helpers.LocatorImpl for the purpose of implementing the SourceLocator interface, and thus can be both a SourceLocator and a SAX Locator.Constructors in org.apache.xml.utils with parameters of type SourceLocator Constructor Description SAXSourceLocator(SourceLocator locator)Constructor SAXSourceLocator -
Uses of SourceLocator in org.apache.xpath
Subinterfaces of SourceLocator in org.apache.xpath Modifier and Type Interface Description interfaceExpressionNodeA class that implements this interface can construct expressions, give information about child and parent expressions, and give the originating source information.Classes in org.apache.xpath that implement SourceLocator Modifier and Type Class Description classExpressionThis abstract class serves as the base for all expression objects.Methods in org.apache.xpath that return SourceLocator Modifier and Type Method Description SourceLocatorXPath. getLocator()Get the SourceLocator on the expression object.SourceLocatorXPathContext. getSAXLocator()Get the current locater in the stylesheet.Methods in org.apache.xpath with parameters of type SourceLocator Modifier and Type Method Description XPathXPathFactory. create(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type)Create an XPath.intSourceTreeManager. getSourceTree(String base, String urlString, SourceLocator locator, XPathContext xctxt)Get the source tree from the a base URL and a URL string.intSourceTreeManager. getSourceTree(Source source, SourceLocator locator, XPathContext xctxt)Get the source tree from the input source.static XMLReaderSourceTreeManager. getXMLReader(Source inputSource, SourceLocator locator)This method returns the SAX2 parser to use with the InputSource obtained from this URI.intSourceTreeManager. parseToNode(Source source, SourceLocator locator, XPathContext xctxt)Try to create a DOM source tree from the input source.voidXPathContext. pushSAXLocator(SourceLocator location)Set the current locater in the stylesheet.SourceSourceTreeManager. resolveURI(String base, String urlString, SourceLocator locator)This will be called by the processor when it encounters an xsl:include, xsl:import, or document() function.voidXPathContext. setSAXLocator(SourceLocator location)Set the current locater in the stylesheet.Constructors in org.apache.xpath with parameters of type SourceLocator Constructor Description XPath(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type)Construct an XPath object.XPath(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type, ErrorListener errorListener)Construct an XPath object.XPath(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type, ErrorListener errorListener, FunctionTable aTable)Construct an XPath object. -
Uses of SourceLocator in org.apache.xpath.axes
Classes in org.apache.xpath.axes that implement SourceLocator Modifier and Type Class Description classAttributeIteratorThis class implements an optimized iterator for attribute axes patterns.classAxesWalkerServes as common interface for axes Walkers, and stores common state variables.classBasicTestIteratorBase for iterators that handle predicates.classChildIteratorThis class implements an optimized iterator for "node()" patterns, that is, any children of the context node.classChildTestIteratorThis class implements an optimized iterator for children patterns that have a node test, and possibly a predicate.classDescendantIteratorThis class implements an optimized iterator for descendant, descendant-or-self, or "//foo" patterns.classFilterExprIteratorclassFilterExprIteratorSimpleClass to use for one-step iteration that doesn't have a predicate, and doesn't need to set the context.classFilterExprWalkerWalker for the OP_VARIABLE, or OP_EXTFUNCTION, or OP_FUNCTION, or OP_GROUP, op codes.classLocPathIteratorThis class extends NodeSetDTM, which implements NodeIterator, and fetches nodes one at a time in document order based on a XPathclassMatchPatternIteratorThis class treats a LocationPath as a filtered iteration over the tree, evaluating each node in a super axis traversal against the LocationPath interpreted as a match pattern.classNodeSequenceThis class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access capabilities.classOneStepIteratorThis class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate.classOneStepIteratorForwardThis class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate, that only go forward (i.e.classPredicatedNodeTestclassReverseAxesWalkerWalker for a reverse axes.classSelfIteratorNoPredicateThis class implements an optimized iterator for "." patterns, that is, the self axes without any predicates.classUnionChildIteratorThis class defines a simplified type of union iterator that only tests along the child axes.classUnionPathIteratorThis class extends NodeSetDTM, which implements DTMIterator, and fetches nodes one at a time in document order based on a XPath UnionExpr.classWalkingIteratorLocation path iterator that uses Walkers.classWalkingIteratorSortedThis class iterates over set of nodes that needs to be sorted. -
Uses of SourceLocator in org.apache.xpath.compiler
Constructors in org.apache.xpath.compiler with parameters of type SourceLocator Constructor Description Compiler(ErrorListener errorHandler, SourceLocator locator, FunctionTable fTable)Construct a Compiler object with a specific ErrorListener and SourceLocator where the expression is located.XPathParser(ErrorListener errorListener, SourceLocator sourceLocator)The parser constructor. -
Uses of SourceLocator in org.apache.xpath.domapi
Constructors in org.apache.xpath.domapi with parameters of type SourceLocator Constructor Description XPathStylesheetDOM3Exception(String msg, SourceLocator arg1) -
Uses of SourceLocator in org.apache.xpath.functions
Classes in org.apache.xpath.functions that implement SourceLocator Modifier and Type Class Description classFuncBooleanExecute the Boolean() function.classFuncCeilingExecute the Ceiling() function.classFuncConcatExecute the Concat() function.classFuncContainsExecute the Contains() function.classFuncCountExecute the Count() function.classFuncCurrentExecute the current() function.classFuncDoclocationExecute the proprietary document-location() function, which returns a node set of documents.classFuncExtElementAvailableExecute the ExtElementAvailable() function.classFuncExtFunctionAn object of this class represents an extension call expression.classFuncExtFunctionAvailableExecute the ExtFunctionAvailable() function.classFuncFalseExecute the False() function.classFuncFloorExecute the Floor() function.classFuncGenerateIdExecute the GenerateId() function.classFuncIdExecute the Id() function.classFuncLangExecute the Lang() function.classFuncLastExecute the Last() function.classFuncLocalPartExecute the LocalPart() function.classFuncNamespaceExecute the Namespace() function.classFuncNormalizeSpaceExecute the normalize-space() function.classFuncNotExecute the Not() function.classFuncNumberExecute the Number() function.classFuncPositionExecute the Position() function.classFuncQnameExecute the Qname() function.classFuncRoundExecute the round() function.classFuncStartsWithExecute the StartsWith() function.classFuncStringExecute the String() function.classFuncStringLengthExecute the StringLength() function.classFuncSubstringExecute the Substring() function.classFuncSubstringAfterExecute the SubstringAfter() function.classFuncSubstringBeforeExecute the SubstringBefore() function.classFuncSumExecute the Sum() function.classFuncSystemPropertyExecute the SystemProperty() function.classFunctionThis is a superclass of all XPath functions.classFunction2ArgsBase class for functions that accept two arguments.classFunction3ArgsBase class for functions that accept three arguments.classFunctionDef1ArgBase class for functions that accept one argument that can be defaulted if not specified.classFunctionMultiArgsBase class for functions that accept an undetermined number of multiple arguments.classFunctionOneArgBase class for functions that accept one argument.classFuncTranslateExecute the Translate() function.classFuncTrueExecute the True() function.classFuncUnparsedEntityURI -
Uses of SourceLocator in org.apache.xpath.objects
Classes in org.apache.xpath.objects that implement SourceLocator Modifier and Type Class Description classXBooleanThis class represents an XPath boolean object, and is capable of converting the boolean to other types, such as a string.classXBooleanStaticThis class doesn't have any XPathContext, so override whatever to ensure it works OK.classXNodeSetThis class represents an XPath nodeset object, and is capable of converting the nodeset to other types, such as a string.classXNodeSetForDOMThis class overrides the XNodeSet#object() method to provide the original Node object, NodeList object, or NodeIterator.classXNullThis class represents an XPath null object, and is capable of converting the null to other types, such as a string.classXNumberThis class represents an XPath number, and is capable of converting the number to other types, such as a string.classXObjectThis class represents an XPath object, and is capable of converting the object to various types, such as a string.classXRTreeFragThis class represents an XPath result tree fragment object, and is capable of converting the RTF to other types, such as a string.classXRTreeFragSelectWrapperThis class makes an select statement act like an result tree fragment.classXStringThis class represents an XPath string object, and is capable of converting the string to other types, such as a number.classXStringForCharsThis class will wrap a FastStringBuffer and allow forclassXStringForFSBThis class will wrap a FastStringBuffer and allow for -
Uses of SourceLocator in org.apache.xpath.operations
Classes in org.apache.xpath.operations that implement SourceLocator Modifier and Type Class Description classAndThe 'and' operation expression executer.classBoolThe 'boolean()' operation expression executer.classDivThe 'div' operation expression executer.classEqualsThe '=' operation expression executer.classGtThe '>' operation expression executer.classGteThe '>=' operation expression executer.classLtThe '<' operation expression executer.classLteThe '<=' operation expression executer.classMinusThe binary '-' operation expression executer.classModThe 'mod' operation expression executer.classMultThe '*' operation expression executer.classNegThe unary '-' operation expression executer.classNotEqualsThe '!=' operation expression executer.classNumberThe 'number()' operation expression executer.classOperationThe baseclass for a binary operation.classOrThe 'or' operation expression executer.classPlusThe '+' operation expression executer.classQuoDeprecated.classStringThe 'string()' operation expression executer.classUnaryOperationThe unary operation base class.classVariableThe variable reference expression executer.classVariableSafeAbsRefThis is a "smart" variable reference that is used in situations where an absolute path is optimized into a variable reference, but may be used in some situations where the document context may have changed. -
Uses of SourceLocator in org.apache.xpath.patterns
Classes in org.apache.xpath.patterns that implement SourceLocator Modifier and Type Class Description classContextMatchStepPatternSpecial context node pattern matcher.classFunctionPatternMatch pattern step that contains a function.classNodeTestThis is the basic node test class for both match patterns and location path steps.classStepPatternThis class represents a single pattern match step.classUnionPatternThis class represents a union pattern, which can have multiple individual StepPattern patterns.