public static Processor GetProcessor(WSNormalizationMode mode) { switch (mode) { case WSNormalizationMode.Preserve: return(new Processor(preserve)); case WSNormalizationMode.Replace: return(new Processor(replace)); case WSNormalizationMode.Collapse: return(new Processor(collapse)); default: // assertion failed throw new Exception(); } }
protected DatatypeImpl(WSNormalizationMode mode) { wsProcessor = WhitespaceNormalizer.GetProcessor(mode); }
public StringType(WSNormalizationMode mode) : base(mode) { }