public ICalPropertyScribe < ? extends ICalProperty > getPropertyScribe ( String propertyName , ICalVersion version ) { propertyName = propertyName . toUpperCase ( ) ; String key = propertyNameKey ( propertyName , version ) ; ICalPropertyScribe < ? extends ICalProperty > scribe = experimentalPropByName . get ( key ) ; if ( scribe == null ) { scribe = standardPropByName . get ( key ) ; } if ( scribe == null ) { return new RawPropertyScribe ( propertyName ) ; } if ( version != null && ! scribe . getSupportedVersions ( ) . contains ( version ) ) { //treat the property as a raw property if the current iCal version doesn't support it return new RawPropertyScribe ( propertyName ) ; } return scribe ; }
Gets a property scribe by name .