org.kitesdk.morphline.saxon
Class XQueryBuilder

java.lang.Object
  extended by org.kitesdk.morphline.saxon.XQueryBuilder
All Implemented Interfaces:
CommandBuilder

public final class XQueryBuilder
extends Object
implements CommandBuilder

Command that parses an InputStream that contains an XML document and runs the given XQuery over the XML document. For each item in the query result sequence, the command emits a morphline record containing the item's name-value pairs.


Constructor Summary
XQueryBuilder()
           
 
Method Summary
 Command build(com.typesafe.config.Config config, Command parent, Command child, MorphlineContext context)
           
 Collection<String> getNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XQueryBuilder

public XQueryBuilder()
Method Detail

getNames

public Collection<String> getNames()
Specified by:
getNames in interface CommandBuilder

build

public Command build(com.typesafe.config.Config config,
                     Command parent,
                     Command child,
                     MorphlineContext context)
Specified by:
build in interface CommandBuilder


Copyright © 2013–2014. All rights reserved.