Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.sequencer.wsdl
Class WsdlSequencer

    java.lang.Object
      org.modeshape.sequencer.wsdl.WsdlSequencer

All Implemented Interfaces:
  StreamSequencer

    public class WsdlSequencer

extends Object
implements StreamSequencer

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

### TRACE

    protected static final boolean TRACE

See Also:
  Constant Field Values

Constructor Detail

### WsdlSequencer

    public WsdlSequencer()

Method Detail

### getLocalPathsToCachedSchemas

    public 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.

  Returns:
    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 empty

### setLocalPathsToCachedSchemas

    public 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.

  Parameters:
    `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 empty

### sequence

    public void sequence(InputStream stream,
                         SequencerOutput output,
                         StreamSequencerContext context)

  Sequence the data found in the supplied stream, placing the output information into the supplied map.

  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.

  Specified by:
    `sequence` in interface `StreamSequencer`
  Parameters:
    `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`
  See Also:
    `StreamSequencer.sequence(java.io.InputStream, org.modeshape.graph.sequencer.SequencerOutput, org.modeshape.graph.sequencer.StreamSequencerContext)`

### newReader

    protected WsdlReader<?> newReader(SequencerOutput output,
                                      StreamSequencerContext context)

  Create the `WsdlReader` instance that should be used. By default this method simply returns a `Wsdl11Reader` instance.

  Parameters:
    `output` - the output where the sequencer is to record its derived content; never null
    `context` - the context in which the sequencer is being run; never null
  Returns:
    the reader; may not be null

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.