|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.sequencer.wsdl.WsdlSequencer
public class WsdlSequencer
A sequencer that processes and extract the schema object model from XML Schema Document files.
Field Summary | |
---|---|
protected static boolean |
TRACE
|
Constructor Summary | |
---|---|
WsdlSequencer()
|
Method Summary | |
---|---|
String[] |
getLocalPathsToCachedSchemas()
Get the paths to the local cache of XSD, DTD and other files that may be referenced or imported into the XML Schema documents. |
protected WsdlReader<?> |
newReader(SequencerOutput output,
StreamSequencerContext context)
Create the WsdlReader instance that should be used. |
void |
sequence(InputStream stream,
SequencerOutput output,
StreamSequencerContext context)
Sequence the data found in the supplied stream, placing the output information into the supplied map. |
void |
setLocalPathsToCachedSchemas(String[] localPathsToCachedSchemas)
Set the paths to the local cache of XSD, DTD and other files that may be referenced or imported into the XML Schema documents. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final boolean TRACE
Constructor Detail |
---|
public WsdlSequencer()
Method Detail |
---|
public String[] getLocalPathsToCachedSchemas()
public void setLocalPathsToCachedSchemas(String[] localPathsToCachedSchemas)
localPathsToCachedSchemas
- the paths to directories on the file system where this sequencer should look for cached
XML Schema documents, DTD files, and other imported or referenced files; may be null or emptypublic void sequence(InputStream stream, SequencerOutput output, StreamSequencerContext context)
ModeShape's SequencingService determines the sequencers that should be executed by monitoring the changes to one or more workspaces that it is monitoring. Changes in those workspaces are aggregated and used to determine which sequencers should be called. If the sequencer implements this interface, then this method is called with the property that is to be sequenced along with the interface used to register the output. The framework takes care of all the rest.
sequence
in interface StreamSequencer
stream
- the stream with the data to be sequenced; never null
output
- the output from the sequencing operation; never null
context
- the context for the sequencing operation; never null
StreamSequencer.sequence(java.io.InputStream,
org.modeshape.graph.sequencer.SequencerOutput, org.modeshape.graph.sequencer.StreamSequencerContext)
protected WsdlReader<?> newReader(SequencerOutput output, StreamSequencerContext context)
WsdlReader
instance that should be used. By default this method simply returns a Wsdl11Reader
instance.
output
- the output where the sequencer is to record its derived content; never nullcontext
- the context in which the sequencer is being run; never null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |