// This is the PolyLine we wrap. this.line = line;
Return the wrapped PolyLine, if the flavor is right if (!f.equals(FLAVOR)) throw new UnsupportedFlavorException(f); return line;
if (!f.equals(FLAVOR)) throw new UnsupportedFlavorException(f); return line;
Return the supported flavor return FLAVORS;
return FLAVORS;
Check for the one flavor we supportreturn f.equals(FLAVOR);
return f.equals(FLAVOR);